bromite-buildtools/images/bromite-build/Dockerfile

24 lines
355 B
Docker
Raw Normal View History

2021-06-19 15:16:24 +05:30
ARG VERSION
FROM localhost:5000/uazo/bromite:$VERSION
ARG VERSION
ENV VERSION=$VERSION
USER lg
COPY pre-start.sh .
COPY start-build.sh .
COPY goma_auth.py .
COPY casupload .
RUN sudo chmod +x ./start-build.sh \
&& \
sudo chmod +x ./pre-start.sh \
&& \
sudo chmod 775 ./goma_auth.py \
&& \
./pre-start.sh
CMD ./start-build.sh