Skip to content

Commit 4773c01

Browse files
committed
fix BUILDARCH ARG/ENV
1 parent aef5f5f commit 4773c01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mpcontribs-api/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ RUN wget -q https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-
2525
-O mpcontribs/api/contributions/formulae.json.gz
2626

2727
FROM base
28-
ARG BUILDARCH=x86_64
28+
ARG BUILDARCH
29+
ENV BUILDARCH=x86_64
2930
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
3031
COPY --from=builder /usr/local/bin /usr/local/bin
3132
COPY --from=builder /usr/lib/$BUILDARCH-linux-gnu/libsnappy* /usr/lib/$BUILDARCH-linux-gnu/

0 commit comments

Comments
 (0)