You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
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
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$PATH:$ {HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}/bin/
ENV HOME_DIR /root
ENV GRAILS_VERSION 2.4.4
ENV GRAILS_HOME ${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}
ENV PATH
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}
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}
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 []
The text was updated successfully, but these errors were encountered: