Open fsejoseph opened 6 years ago
After Step 7 I get this: The creation of the image ends.
+ apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz: could not connect to server (check repositories file) fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz bash (missing): required by: world[bash] curl (missing): required by: world[curl] libc6-compat (missing): required by: world[libc6-compat] ttf-dejavu (missing): required by: world[ttf-dejavu] xmlstarlet (missing): required by: world[xmlstarlet] WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz: could not connect to server (check repositories file) ERROR: unsatisfiable constraints: The command '/bin/sh -c set -x && apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat && mkdir -p "${JIRA_HOME}" && mkdir -p "${JIRA_HOME}/caches/indexes" && chmod -R 700 "${JIRA_HOME}" && chown -R daemon:daemon "${JIRA_HOME}" && mkdir -p "${JIRA_INSTALL}/conf/Catalina" && curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-${JIRA_VERSION}.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner && curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.45.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar" && rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" && curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" && chmod -R 700 "${JIRA_INSTALL}/conf" && chmod -R 700 "${JIRA_INSTALL}/logs" && chmod -R 700 "${JIRA_INSTALL}/temp" && chmod -R 700 "${JIRA_INSTALL}/work" && chown -R daemon:daemon "${JIRA_INSTALL}/conf" && chown -R daemon:daemon "${JIRA_INSTALL}/logs" && chown -R daemon:daemon "${JIRA_INSTALL}/temp" && chown -R daemon:daemon "${JIRA_INSTALL}/work" && sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" && echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" && touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"' returned a non-zero code: 5
Answer. I was using redhat base image changed to apt-get
After Step 7 I get this: The creation of the image ends.