docker-ice icon indicating copy to clipboard operation
docker-ice copied to clipboard

Failed to read artifact descriptor for xalan:serializer:jar:2.7.1

Open kamal2222ahmed opened this issue 7 years ago • 1 comments

after resolving other issues, i am getting the following error consistently:

ice-1.1.2/wrapper/springloaded-1.2.1.RELEASE.jar | Loading Grails 2.4.4 | Configuring classpath | Error Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1 (Use --stacktrace to see the full trace) | Error Required Grails build dependencies were not found. This is normally due to internet connectivity issues (such as a misconfigured proxy) or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your configuration to continue. ERROR: Service 'ice' failed to build: The command '/bin/sh -c mkdir /mnt/ice_processor /mnt/ice_reader && curl -fsSL https://github.com/Teevity/ice/archive/v1.1.2.tar.gz | tar zvx --strip-components=1 && grails ${JAVA_OPTS} wrapper && rm grails-app/i18n/messages.properties && sed -i -e '1i#!/bin/bash' grailsw' returned a non-zero code: 1

Here is my Dockerfile:

FROM openjdk:8u131-jdk-alpine MAINTAINER Jon Brouse @jonbrouse

ENV http_proxy http://xx.xx.xx.com:80 ENV https_proxy http://xx.xx.xx:80 RUN export http_proxy=$HTTP_PROXY RUN export https_proxy=$HTTPS_PROXY

ENV INSTALL_DIR /opt/ice ENV HOME_DIR /root ENV GRAILS_VERSION 2.4.4 ENV GRAILS_HOME ${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION} ENV PATH $PATH:${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}/bin/ ENV ICE_VERSION 1.1.2

ENV JAVA_OPTS="-Dhttps.proxyHost=https.proxyHost=http://xx.xx.xx -Dhttps.proxyPort=https.proxyPort=80"

ARG JAVA_OPTS WORKDIR ${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}

###########################Install required software

RUN apk add --no-cache bash curl unzip &&
curl -O http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${GRAILS_VERSION}.zip &&
unzip grails-${GRAILS_VERSION}.zip &&
rm -rf grails-${GRAILS_VERSION}.zip

WORKDIR ${INSTALL_DIR}

   #######Ice setup

RUN mkdir /mnt/ice_processor /mnt/ice_reader &&
#curl -fsSL https://github.com/Teevity/ice/archive/v${ICE_VERSION}.tar.gz | tar zx --strip-components=1 &&
curl -fsSL https://github.com/Teevity/ice/archive/v1.1.2.tar.gz | tar zvx --strip-components=1 &&
grails ${JAVA_OPTS} wrapper &&
rm grails-app/i18n/messages.properties &&
sed -i -e '1i#!/bin/bash' grailsw

EXPOSE 8080

ENTRYPOINT ["/opt/ice/grailsw"]

CMD []

kamal2222ahmed avatar Nov 02 '17 07:11 kamal2222ahmed

Were you able to resolve this issue?

jonbrouse avatar Sep 20 '18 16:09 jonbrouse