more to revert

This commit is contained in:
Felix Kunde 2021-01-07 09:19:38 +01:00
parent 64f54d7c00
commit 93f9ca6aff
5 changed files with 8 additions and 7 deletions

View File

@ -175,7 +175,7 @@ go get -u github.com/derekparker/delve/cmd/dlv
* Add following dependencies to the `Dockerfile` * Add following dependencies to the `Dockerfile`
``` ```
RUN apt-get update && apt-get install -y go git musl-dev RUN apk --no-cache add go git musl-dev
RUN go get github.com/derekparker/delve/cmd/dlv RUN go get github.com/derekparker/delve/cmd/dlv
``` ```

View File

@ -4,7 +4,7 @@ LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
EXPOSE 8081 EXPOSE 8081
RUN \ RUN \
apt-get add --no-cache \ apk add --no-cache \
alpine-sdk \ alpine-sdk \
autoconf \ autoconf \
automake \ automake \
@ -25,7 +25,8 @@ RUN \
&& \ && \
rm -rf \ rm -rf \
/root/.cache \ /root/.cache \
/tmp/* /tmp/* \
/var/cache/apk/*
COPY requirements.txt / COPY requirements.txt /
COPY start_server.sh / COPY start_server.sh /

View File

@ -67,7 +67,7 @@ kubectl exec \
)" \ )" \
-- \ -- \
sh -c ' sh -c '
apt-get add --no-cache socat; apk add --no-cache socat;
pkill socat; pkill socat;
socat -v TCP-LISTEN:1234,reuseaddr,fork,su=nobody TCP:169.254.169.254:80 socat -v TCP-LISTEN:1234,reuseaddr,fork,su=nobody TCP:169.254.169.254:80
' \ ' \