Skip to content

Commit

Permalink
Only need the single COPY command since the iptables-wrapper outp…
Browse files Browse the repository at this point in the history
…ut should be treated as a single unit.
  • Loading branch information
JoelDewey committed Jul 19, 2023
1 parent da0171c commit f8b6991
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ RUN (cd code && make build)

FROM linuxserver/wireguard:$LSIO_WIREGUARD_TAG

COPY --from=build /go/code/iptables-wrapper-installer.sh /
COPY --from=build /go/code/bin/iptables-wrapper /
COPY --from=build /go/code/iptables-wrapper-installer.sh /go/code/bin/iptables-wrapper /
RUN apk add --no-cache nftables && bash /iptables-wrapper-installer.sh

0 comments on commit f8b6991

Please sign in to comment.