test
This commit is contained in:
parent
a2fb0455cc
commit
66668a1378
@ -1,10 +1,11 @@
|
|||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
ARG BUILD_NBR=$BUILD_NBR
|
||||||
|
ARG BRANCH_NAME=$BRANCH_NAME
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install openjdk-8-jre openjdk-8-jdk curl wget
|
RUN apt-get -y install openjdk-8-jre openjdk-8-jdk curl wget
|
||||||
WORKDIR /bot_src
|
WORKDIR /bot_src
|
||||||
ENV BRANCH_NAME=$BRANCH_NAME
|
ADD DownloadLast.sh ${BRANCH_NAME} ${BUILD_NBR} /bot_src/
|
||||||
ADD DownloadLast.sh /bot_src/
|
|
||||||
RUN chmod +x DownloadLast.sh
|
RUN chmod +x DownloadLast.sh
|
||||||
RUN ./DownloadLast.sh
|
RUN ./DownloadLast.sh
|
||||||
ENV PORT=8080
|
ENV PORT=8080
|
||||||
|
Loading…
Reference in New Issue
Block a user