This commit is contained in:
Sebastien 2018-03-01 15:52:42 +01:00
parent 8da8826f00
commit 5d7799bfa1

View File

@ -1,10 +1,10 @@
FROM debian:latest
ARG BUILD_NBR
ARG BRANCH_NAME
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install openjdk-8-jre openjdk-8-jdk curl wget
WORKDIR /bot_src
ARG BUILD_NBR
ARG BRANCH_NAME
ADD DownloadLast.sh /bot_src/
RUN chmod +x DownloadLast.sh
RUN ./DownloadLast.sh ${BRANCH_NAME} ${BUILD_NBR}