Skip to content

Commit

Permalink
make clean before build to avoid using binaries built outside of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiget committed Feb 18, 2018
1 parent c81176e commit 3337ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.7 AS build
RUN apk add --no-cache libgcc alpine-sdk gcc libpcap-dev linux-headers findutils
COPY . /snabb
RUN cd /snabb && make -j
RUN cd /snabb && make clean && make -j

FROM alpine:3.7
RUN apk add --no-cache libgcc
Expand Down

0 comments on commit 3337ae8

Please sign in to comment.