more to revert
This commit is contained in:
		
							parent
							
								
									64f54d7c00
								
							
						
					
					
						commit
						93f9ca6aff
					
				| 
						 | 
				
			
			@ -175,7 +175,7 @@ go get -u github.com/derekparker/delve/cmd/dlv
 | 
			
		|||
* 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
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
 | 
			
		|||
EXPOSE 8081
 | 
			
		||||
 | 
			
		||||
RUN \
 | 
			
		||||
  apt-get add --no-cache \
 | 
			
		||||
  apk add --no-cache \
 | 
			
		||||
    alpine-sdk \
 | 
			
		||||
    autoconf \
 | 
			
		||||
    automake \
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +25,8 @@ RUN \
 | 
			
		|||
    && \
 | 
			
		||||
  rm -rf \
 | 
			
		||||
    /root/.cache \
 | 
			
		||||
    /tmp/*
 | 
			
		||||
    /tmp/* \
 | 
			
		||||
    /var/cache/apk/*
 | 
			
		||||
 | 
			
		||||
COPY requirements.txt /
 | 
			
		||||
COPY start_server.sh /
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ kubectl exec \
 | 
			
		|||
  )" \
 | 
			
		||||
  -- \
 | 
			
		||||
    sh -c '
 | 
			
		||||
      apt-get add --no-cache socat;
 | 
			
		||||
      apk add --no-cache socat;
 | 
			
		||||
      pkill socat;
 | 
			
		||||
      socat -v TCP-LISTEN:1234,reuseaddr,fork,su=nobody TCP:169.254.169.254:80
 | 
			
		||||
    ' \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue