Skip to content

Commit 8caa006

Browse files
author
DvirDukhan
committed
added git to dockerfile
1 parent 65ba8e0 commit 8caa006

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opt/build/docker/dockerfile.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ COPY --from=redis /usr/local/ /usr/local/
3030
COPY ./opt/ opt/
3131
ADD ./tests/flow/ tests/flow/
3232

33-
RUN FORCE=1 ./opt/readies/bin/getpy3
3433
RUN ./opt/readies/bin/getupdates
34+
RUN if [ ! -z $(command -v apt-get) ]; then apt-get -qq update; apt-get -q install -y git; fi
35+
RUN if [ ! -z $(command -v yum) ]; then yum install -y git; fi
36+
RUN FORCE=1 ./opt/readies/bin/getpy3
3537
RUN ./opt/system-setup.py
3638

3739
ARG DEPS_ARGS=""

0 commit comments

Comments
 (0)