Skip to content
Snippets Groups Projects
Commit 88dbde6c authored by micah's avatar micah :speech_balloon:
Browse files

Try to put the package install after the COPY commands as a workaround for the...

Try to put the package install after the COPY commands as a workaround for the package not being in the final image
parent 1afbaed8
Branches
Tags
No related merge requests found
...@@ -10,12 +10,12 @@ RUN go get -u github.com/OperatorFoundation/shapeshifter-dispatcher/shapeshifter ...@@ -10,12 +10,12 @@ RUN go get -u github.com/OperatorFoundation/shapeshifter-dispatcher/shapeshifter
RUN strip $GOPATH/bin/shapeshifter-dispatcher RUN strip $GOPATH/bin/shapeshifter-dispatcher
FROM registry.git.autistici.org/ai3/docker/chaperone-base FROM registry.git.autistici.org/ai3/docker/chaperone-base
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openvpn netcat-openbsd iptables\
&& rm -rf /var/lib/apt/lists/*
# needed for buster, but chaperone-base image is still stretch # needed for buster, but chaperone-base image is still stretch
#RUN update-alternatives --set iptables /usr/sbin/iptables-legacy #RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY chaperone.d/ /etc/chaperone.d COPY chaperone.d/ /etc/chaperone.d
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openvpn netcat-openbsd iptables\
&& rm -rf /var/lib/apt/lists/*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment