Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 7 Error unsatisfiable constraints: #86

Open
fsejoseph opened this issue Nov 6, 2018 · 1 comment
Open

Step 7 Error unsatisfiable constraints: #86

fsejoseph opened this issue Nov 6, 2018 · 1 comment

Comments

@fsejoseph
Copy link

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
@fsejoseph
Copy link
Author

Answer. I was using redhat base image changed to apt-get

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

No branches or pull requests

1 participant