Skip to content

[DSC-2986] Fix Docker CLI image entrypoint - #550

Merged
4science-it merged 1 commit into
dspace-cris-2024_02_xfrom
task/dspace-cris-2024_02_x/DSC-2986
Sep 15, 2026
Merged

4science-it merged 1 commit into
dspace-cris-2024_02_xfrom
task/dspace-cris-2024_02_x/DSC-2986

Conversation

@vins01-4science

Copy link
Copy Markdown

Fixes DSC-2986.

Dockerfile.cli declared no ENTRYPOINT/CMD, so the CLI container inherited the base eclipse-temurin entrypoint (/__cacert_entrypoint.sh). The docker-deploy job then exec'd create-administrator as a shell command, which does not exist, and the container exited 127.

This adds:

ENTRYPOINT ["./bin/dspace"]
CMD ["help"]

matching main and dspace-cris-2025_02_x.

Jira: https://4science.atlassian.net/browse/DSC-2986

The CLI image declared no ENTRYPOINT/CMD, so it inherited the base
eclipse-temurin entrypoint and executed 'create-administrator' as a
shell command, exiting 127 and failing the Docker images pipeline.
@4science-it
4science-it merged commit af37fe9 into dspace-cris-2024_02_x Sep 15, 2026
33 checks passed
@4science-it
4science-it deleted the task/dspace-cris-2024_02_x/DSC-2986 branch September 15, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants