mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 04:31:42 +02:00
more to revert
This commit is contained in:
+1
-1
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -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 /
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
' \
|
' \
|
||||||
|
|||||||
Reference in New Issue
Block a user