2016-05-24 15:45:33 +00:00
|
|
|
FROM golang:1.6
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y git
|
|
|
|
WORKDIR /go/src/app
|
2016-05-24 15:58:03 +00:00
|
|
|
RUN git clone https://github.com/KrustyHack/ipd.git . && \
|
2016-05-24 15:45:33 +00:00
|
|
|
go get github.com/martinp/ipd
|
2016-10-07 12:28:04 +00:00
|
|
|
EXPOSE 8080
|
2016-10-07 13:48:42 +00:00
|
|
|
CMD ["ipd", "--trusted-header=X-Real-IP"]
|