Skip to content

Commit

Permalink
OMG - ARG are reset after FROM
Browse files Browse the repository at this point in the history
See moby/moby#34129
So many hours wasted... :(
  • Loading branch information
Paulo Matos committed May 10, 2021
1 parent 8f3d7ec commit b3f9c9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG ARCH=amd64
FROM docker.io/${ARCH}/debian:buster
ARG ARCH
ARG NCPUS=1

RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -43,10 +44,6 @@ RUN git clone -q --depth=1 https://github.com/renatahodovan/fuzzinator.git ./fuz
COPY setup.sh /tmp/
ENV JSCFUZZ=${FUZZDIR}

RUN echo "fuzzdir: ${FUZZDIR}"
RUN echo "ncpus: ${NCPUS}"
RUN echo "arch: ${ARCH}"

RUN /tmp/setup.sh ${FUZZDIR} ${NCPUS} ${ARCH}

EXPOSE 8080
Expand Down

0 comments on commit b3f9c9a

Please sign in to comment.