xx@xx-MacBook-Air xx-dc % dcdx run jira --tag latest
Starting jira... 💃
[+] Building 1.7s (11/11) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.44kB 0.0s
=> [internal] load metadata for docker.io/library/eclipse-temurin:17-noble 0.6s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 51B 0.0s
=> [1/7] FROM docker.io/library/eclipse-temurin:17-noble@sha256:d43c7695ff0bf9aa8e13d2b39443c592f5d89bfda9e8505081cdddb5ad6fedf1 0.0s
=> => resolve docker.io/library/eclipse-temurin:17-noble@sha256:d43c7695ff0bf9aa8e13d2b39443c592f5d89bfda9e8505081cdddb5ad6fedf1 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 897B 0.0s
=> CACHED [2/7] WORKDIR /var/atlassian/application-data/jira 0.0s
=> CACHED [3/7] COPY entrypoint.py shutdown-wait.sh shared-components/image/entrypoint_helpers.py / 0.0s
=> CACHED [4/7] COPY shared-components/support /opt/atlassian/support 0.0s
=> CACHED [5/7] COPY config/* /opt/atlassian/etc/ 0.0s
=> CACHED [6/7] RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends fontconfig python3 python3-jinja2 tini && apt-get clean autoclean && apt-get auto 0.0s
=> ERROR [7/7] RUN groupadd --gid 2001 jira && useradd --uid 2001 --gid 2001 --home-dir /var/atlassian/application-data/jira --shell /bin/bash jira && echo PATH=/opt/java/openjdk/bin:/usr/ 0.9s
[7/7] RUN groupadd --gid 2001 jira && useradd --uid 2001 --gid 2001 --home-dir /var/atlassian/application-data/jira --shell /bin/bash jira && echo PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > /etc/environment && mkdir -p /opt/atlassian/jira && curl -fsSL https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-latest.tar.gz -o /tmp/atlassian-jira-software-latest.tar.gz && curl -fsSL https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-latest.tar.gz.sha256 -o /tmp/atlassian-jira-software-latest.tar.gz.sha256 && set -e; cd /tmp && sha256sum -c atlassian-jira-software-latest.tar.gz.sha256 && tar -xf /tmp/atlassian-jira-software-latest.tar.gz --strip-components=1 -C "/opt/atlassian/jira" && rm /tmp/atlassian-jira-software* && chmod -R 550 /opt/atlassian/jira/ && chown -R jira:root /opt/atlassian/jira/ && mkdir -p /opt/atlassian/jira/conf/Catalina/localhost && chmod 770 /opt/atlassian/jira/conf/Catalina/localhost && for dir in logs temp work; do chmod -R 770 /opt/atlassian/jira/${dir}; done && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: ${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' /opt/atlassian/jira/bin/setenv.sh && sed -i -e 's/^JVM_(.)_MEMORY="(.)"$/: ${JVM_\1_MEMORY:=\2}/g' /opt/atlassian/jira/bin/setenv.sh && sed -i -e 's/-XX:ReservedCodeCacheSize=([0-9]+[kmg])/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' /opt/atlassian/jira/bin/setenv.sh && touch /etc/container_id && chown jira:jira /etc/container_id && chown -R jira:jira /var/atlassian/application-data/jira && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do chmod -R "u=rwX,g=rX,o=rX" ${file} && chown -R root ${file}; done:
0.929 curl: (22) The requested URL returned error: 403
0.936 sha256sum: atlassian-jira-software-latest.tar.gz.sha256: No such file or directory
9 warnings found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 8)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 11)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 15)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 7)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 9)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 10)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 14)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 34)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 36)
Dockerfile:39
38 |
39 | >>> RUN groupadd --gid ${RUN_GID} ${RUN_GROUP}
40 | >>> && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${JIRA_HOME} --shell /bin/bash ${RUN_USER}
41 | >>> && echo PATH=$PATH > /etc/environment
42 | >>> && mkdir -p ${JIRA_INSTALL_DIR}
43 | >>> && curl -fsSL ${DOWNLOAD_URL} -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz
44 | >>> && curl -fsSL ${DOWNLOAD_URL}.sha256 -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256
45 | >>> && set -e; cd /tmp && sha256sum -c ${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256
46 | >>> && tar -xf /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz --strip-components=1 -C "${JIRA_INSTALL_DIR}"
47 | >>> && rm /tmp/${ARTEFACT_NAME}*
48 | >>> && chmod -R 550 ${JIRA_INSTALL_DIR}/
49 | >>> && chown -R ${RUN_USER}:root ${JIRA_INSTALL_DIR}/
50 | >>> && mkdir -p ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && chmod 770 ${JIRA_INSTALL_DIR}/conf/Catalina/localhost
51 | >>> && for dir in logs temp work; do
52 | >>> chmod -R 770 ${JIRA_INSTALL_DIR}/${dir};
53 | >>> done
54 | >>> && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: ${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
55 | >>> && sed -i -e 's/^JVM_(.)_MEMORY="(.)"$/: ${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
56 | >>> && sed -i -e 's/-XX:ReservedCodeCacheSize=([0-9]+[kmg])/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
57 | >>>
58 | >>> && touch /etc/container_id
59 | >>> && chown ${RUN_USER}:${RUN_GROUP} /etc/container_id
60 | >>> && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_HOME}
61 | >>> && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do
62 | >>> chmod -R "u=rwX,g=rX,o=rX" ${file} &&
63 | >>> chown -R root ${file}; done
64 |
ERROR: failed to solve: process "/bin/sh -c groupadd --gid ${RUN_GID} ${RUN_GROUP} && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${JIRA_HOME} --shell /bin/bash ${RUN_USER} && echo PATH=$PATH > /etc/environment && mkdir -p ${JIRA_INSTALL_DIR} && curl -fsSL ${DOWNLOAD_URL} -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz && curl -fsSL ${DOWNLOAD_URL}.sha256 -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256 && set -e; cd /tmp && sha256sum -c ${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256 && tar -xf /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz --strip-components=1 -C "${JIRA_INSTALL_DIR}" && rm /tmp/${ARTEFACT_NAME}* && chmod -R 550 ${JIRA_INSTALL_DIR}/ && chown -R ${RUN_USER}:root ${JIRA_INSTALL_DIR}/ && mkdir -p ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && chmod 770 ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && for dir in logs temp work; do chmod -R 770 ${JIRA_INSTALL_DIR}/${dir}; done && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/^JVM_\(.\)_MEMORY="\(.\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/-XX:ReservedCodeCacheSize=\([0-9]\+[kmg]\)/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && touch /etc/container_id && chown ${RUN_USER}:${RUN_GROUP} /etc/container_id && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_HOME} && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do chmod -R "u=rwX,g=rX,o=rX" ${file} && chown -R root ${file}; done" did not complete successfully: exit code: 1
Stopping jira... 💔
time="2024-11-29T16:45:28+02:00" level=warning msg="-: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-11-29T16:45:28+02:00" level=warning msg="-: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
Stopped jira 💪
Error: Docker exited with code 1
Usage: dcdx run [options] [command]
Run the host application based on the Atlassian Maven Plugin Suite (AMPS) configuration.
If you wish to run a specific host application, call this command with 'dcdx run '
Options:
-t, --tag The Docker tag of the host application
-d, --database The database engine on which the host application will run (choices: "postgresql", "mysql", "mssql", default: "postgresql")
-p, --port The HTTP port on which the host application will be accessible (default: "80")
-c, --contextPath The context path on which the host application will be accessible
-P, --activate-profiles Comma-delimited list of profiles to activate
--xms JVM minimum heap size (default: "1024m")
--xmx JVM maximum heap size (default: "1024m")
--cwd Specify the working directory where to find the AMPS configuration
--clean Remove data files before starting the host application (default: false)
--prune Remove data files when stopping the host application (default: false)
--debug Add support for JVM debugger on port 5005 (default: false)
Commands:
jira [options] Start Atlassian Jira (standalone)
confluence [options] Start Atlassian Confluence (standalone)
bitbucket [options] Start Atlassian Bitbucket (standalone)
bamboo [options] Start Atlassian Bamboo (standalone)
help [command] display help for command
9 warnings found (use docker --debug to expand):
Dockerfile:39
38 |
39 | >>> RUN groupadd --gid ${RUN_GID} ${RUN_GROUP}
40 | >>> && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${JIRA_HOME} --shell /bin/bash ${RUN_USER}
41 | >>> && echo PATH=$PATH > /etc/environment
42 | >>> && mkdir -p ${JIRA_INSTALL_DIR}
43 | >>> && curl -fsSL ${DOWNLOAD_URL} -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz
44 | >>> && curl -fsSL ${DOWNLOAD_URL}.sha256 -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256
45 | >>> && set -e; cd /tmp && sha256sum -c ${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256
46 | >>> && tar -xf /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz --strip-components=1 -C "${JIRA_INSTALL_DIR}"
47 | >>> && rm /tmp/${ARTEFACT_NAME}*
48 | >>> && chmod -R 550 ${JIRA_INSTALL_DIR}/
49 | >>> && chown -R ${RUN_USER}:root ${JIRA_INSTALL_DIR}/
50 | >>> && mkdir -p ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && chmod 770 ${JIRA_INSTALL_DIR}/conf/Catalina/localhost
51 | >>> && for dir in logs temp work; do
52 | >>> chmod -R 770 ${JIRA_INSTALL_DIR}/${dir};
53 | >>> done
54 | >>> && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: ${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
55 | >>> && sed -i -e 's/^JVM_(.)_MEMORY="(.)"$/: ${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
56 | >>> && sed -i -e 's/-XX:ReservedCodeCacheSize=([0-9]+[kmg])/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh
57 | >>>
58 | >>> && touch /etc/container_id
59 | >>> && chown ${RUN_USER}:${RUN_GROUP} /etc/container_id
60 | >>> && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_HOME}
61 | >>> && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do
62 | >>> chmod -R "u=rwX,g=rX,o=rX" ${file} &&
63 | >>> chown -R root ${file}; done
64 |
ERROR: failed to solve: process "/bin/sh -c groupadd --gid ${RUN_GID} ${RUN_GROUP} && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${JIRA_HOME} --shell /bin/bash ${RUN_USER} && echo PATH=$PATH > /etc/environment && mkdir -p ${JIRA_INSTALL_DIR} && curl -fsSL ${DOWNLOAD_URL} -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz && curl -fsSL ${DOWNLOAD_URL}.sha256 -o /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256 && set -e; cd /tmp && sha256sum -c ${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz.sha256 && tar -xf /tmp/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz --strip-components=1 -C "${JIRA_INSTALL_DIR}" && rm /tmp/${ARTEFACT_NAME}* && chmod -R 550 ${JIRA_INSTALL_DIR}/ && chown -R ${RUN_USER}:root ${JIRA_INSTALL_DIR}/ && mkdir -p ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && chmod 770 ${JIRA_INSTALL_DIR}/conf/Catalina/localhost && for dir in logs temp work; do chmod -R 770 ${JIRA_INSTALL_DIR}/${dir}; done && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/^JVM_\(.\)_MEMORY="\(.\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/-XX:ReservedCodeCacheSize=\([0-9]\+[kmg]\)/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && touch /etc/container_id && chown ${RUN_USER}:${RUN_GROUP} /etc/container_id && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_HOME} && for file in "/opt/atlassian/support /entrypoint.py /entrypoint_helpers.py /shutdown-wait.sh"; do chmod -R "u=rwX,g=rX,o=rX" ${file} && chown -R root ${file}; done" did not complete successfully: exit code: 1
Stopping jira... 💔
time="2024-11-29T16:45:28+02:00" level=warning msg="-: the attribute
versionis obsolete, it will be ignored, please remove it to avoid potential confusion"time="2024-11-29T16:45:28+02:00" level=warning msg="-: the attribute
versionis obsolete, it will be ignored, please remove it to avoid potential confusion"Stopped jira 💪
Error: Docker exited with code 1
Usage: dcdx run [options] [command]
Run the host application based on the Atlassian Maven Plugin Suite (AMPS) configuration.
If you wish to run a specific host application, call this command with 'dcdx run '
Options:
-t, --tag The Docker tag of the host application
-d, --database The database engine on which the host application will run (choices: "postgresql", "mysql", "mssql", default: "postgresql")
-p, --port The HTTP port on which the host application will be accessible (default: "80")
-c, --contextPath The context path on which the host application will be accessible
-P, --activate-profiles Comma-delimited list of profiles to activate
--xms JVM minimum heap size (default: "1024m")
--xmx JVM maximum heap size (default: "1024m")
--cwd Specify the working directory where to find the AMPS configuration
--clean Remove data files before starting the host application (default: false)
--prune Remove data files when stopping the host application (default: false)
--debug Add support for JVM debugger on port 5005 (default: false)
Commands:
jira [options] Start Atlassian Jira (standalone)
confluence [options] Start Atlassian Confluence (standalone)
bitbucket [options] Start Atlassian Bitbucket (standalone)
bamboo [options] Start Atlassian Bamboo (standalone)
help [command] display help for command