proxystrip/Dockerfile

13 lines
328 B
Docker
Raw Normal View History

2020-05-30 19:23:54 +00:00
FROM xena/go:1.14 AS build
2019-11-23 15:00:02 +00:00
ENV PORT 2222
ENV TARGET 127.0.0.1:22
ENV GOPROXY https://cache.greedo.xeserv.us
ENV CGO_ENABLED 0
WORKDIR /within/proxystrip
COPY . .
RUN GOBIN=/usr/local/bin go install
2020-07-09 18:14:22 +00:00
FROM gitea/gitea:1.12.1
2019-11-23 15:00:02 +00:00
COPY --from=build /usr/local/bin/proxystrip /usr/local/bin/proxystrip
COPY run.sh /etc/s6/proxystrip/run