Skip to content

Commit 0790027

Browse files
committed
CircleCI: multiarch docker build #4
1 parent 40d28cf commit 0790027

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN ./opt/system-setup.py
2424

2525
ARG DEPS_ARGS=""
2626
COPY ./get_deps.sh .
27-
RUN "$DEPS_ARGS" ./get_deps.sh cpu
27+
RUN if [ "$DEPS_ARGS" = "" ]; then ./get_deps.sh cpu; else env "$DEPS_ARGS" ./get_deps.sh cpu; fi
2828

2929
ARG BUILD_ARGS=""
3030
ADD ./ /build

Dockerfile.arm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN ./opt/system-setup.py
2424

2525
ARG DEPS_ARGS=""
2626
COPY ./get_deps.sh .
27-
RUN "$DEPS_ARGS" ./get_deps.sh cpu
27+
RUN if [ "$DEPS_ARGS" = "" ]; then ./get_deps.sh cpu; else env "$DEPS_ARGS" ./get_deps.sh cpu; fi
2828

2929
ARG BUILD_ARGS=""
3030
ADD ./ /build

0 commit comments

Comments
 (0)