File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ machine : true
5+ steps :
6+ - checkout
7+ # build the application image
8+ - run : docker build -t montmassoncircleci/java-node:$CIRCLE_BRANCH .
9+ # deploy the image
10+
11+ - run : |
12+ echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin
13+ docker push montmassoncircleci/java-node:$CIRCLE_BRANCH
Original file line number Diff line number Diff line change 11FROM node:10-buster
22
33RUN curl --silent --show-error --location --fail --retry 3 --output /tmp/zulu8.50.0.21-ca-jdk8.0.272-linux_x64.tar.gz https://cdn.azul.com/zulu/bin/zulu8.50.0.21-ca-jdk8.0.272-linux_x64.tar.gz && \
4- tar xf zulu8.50.0.21-ca-jdk8.0.272-linux_x64.tar.gz -C /opt/ && \
4+ tar xf /tmp/ zulu8.50.0.21-ca-jdk8.0.272-linux_x64.tar.gz -C /opt/ && \
55 rm /tmp/zulu8.50.0.21-ca-jdk8.0.272-linux_x64.tar.gz &&\
66 ln -s /opt/zulu8* /opt/java &&\
77 /opt/java/bin/java -version
You can’t perform that action at this time.
0 commit comments