Skip to content
Snippets Groups Projects
Commit 55ffa5a1 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

fix path for shapeshifter-dispatcher binary

parent 1aeac5b9
No related branches found
No related tags found
No related merge requests found
Pipeline #44520 failed
......@@ -8,8 +8,7 @@ RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y -
ENV GOPATH=/go
WORKDIR $GOPATH
RUN git clone https://github.com/OperatorFoundation/shapeshifter-dispatcher && cd shapeshifter-dispatcher && go build
#RUN go get -u github.com/OperatorFoundation/shapeshifter-dispatcher
RUN strip $GOPATH/bin/shapeshifter-dispatcher
RUN strip /shapeshifter-dispatcher/bin/shapeshifter-dispatcher
RUN go get -u github.com/kumina/openvpn_exporter
RUN strip $GOPATH/bin/openvpn_exporter
......@@ -18,7 +17,7 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base
# needed for buster, but chaperone-base image is still stretch
#RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY --from=build /shapeshifter-dispatcher/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY --from=build /usr/sbin/openvpn /usr/sbin/openvpn
COPY --from=build /go/bin/openvpn_exporter /usr/local/bin/openvpn_exporter
COPY chaperone.d/ /etc/chaperone.d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment