Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from aantonw/master
Browse files Browse the repository at this point in the history
fix docker hub automated build
  • Loading branch information
jonbrouse authored Aug 21, 2017
2 parents 19ab325 + 39bd2cd commit fb89b8f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,20 @@ WORKDIR ${HOME_DIR}

# Install required software
RUN \
apt-get update && \
apt-get install -y unzip && \
rm -rf /var/lib/apt/lists/* && \
curl -Lo unzip.deb http://http.us.debian.org/debian/pool/main/u/unzip/unzip_6.0-16+deb8u3_amd64.deb && \
dpkg -i unzip.deb && \
mkdir -p ${INSTALL_DIR} && \
mkdir -p .grails/wrapper/${GRAILS_VERSION} && \
curl -o .grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${GRAILS_VERSION}.zip && \
unzip .grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip -d .grails/wrapper/${GRAILS_VERSION} && \
rm -rf .grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip
unzip /root/grails-${GRAILS_VERSION}.zip -d .grails/wrapper/${GRAILS_VERSION} && \
rm -rf unzip.deb ${GRAILS_VERSION}/grails-${GRAILS_VERSION}.zip

WORKDIR ${INSTALL_DIR}

# Ice setup
RUN \
mkdir /mnt/ice_processor && \
mkdir /mnt/ice_reader && \
curl -L https://github.com/Teevity/ice/archive/${ICE_VERSION}.tar.gz | tar -zx -C /opt/ice --strip 1 && \
curl -L https://github.com/Teevity/ice/archive/v${ICE_VERSION}.tar.gz | tar -zx -C /opt/ice --strip 1 && \
grails ${JAVA_OPTS} wrapper && \
rm grails-app/i18n/messages.properties && \
sed -i -e '1i#!/bin/bash\' grailsw
Expand Down

0 comments on commit fb89b8f

Please sign in to comment.