docker-ipd/Dockerfile
2016-10-07 13:41:07 +00:00

10 lines
226 B
Docker

FROM golang:1.6
RUN apt-get update && \
apt-get install -y git
WORKDIR /go/src/app
RUN git clone https://github.com/KrustyHack/ipd.git . && \
go get github.com/martinp/ipd
EXPOSE 8080
CMD ["ipd --trusted-header=X-Real-IP"]