mirror of https://github.com/hashicorp/consul
[CONSUL-438] Add netcat (nc) in the Single container Dockerfile (#56)
parent
98773222bc
commit
de4191097c
@ -1,12 +0,0 @@
|
||||
FROM mcr.microsoft.com/windows/servercore:1809
|
||||
|
||||
RUN mkdir socat
|
||||
|
||||
ENV SOCAT_URL=https://github.com/tech128/socat-1.7.3.0-windows/archive/refs/heads/master.zip
|
||||
RUN curl %SOCAT_URL% -L -o socat.zip
|
||||
|
||||
RUN tar -xf socat.zip -C socat --strip-components=1
|
||||
|
||||
ENV PATH C:\\socat;%PATH%
|
||||
|
||||
ENTRYPOINT ["socat.exe"]
|
Loading…
Reference in new issue