aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: bf5cab6ebc04125c86c663a3303eaebf05484158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM golang:alpine

EXPOSE 80/tcp

ENTRYPOINT ["gopherproxy"]
CMD []

RUN \
    apk add --update git && \
    rm -rf /var/cache/apk/*

RUN mkdir -p /go/src/github.com/prologic/gopherproxy
WORKDIR /go/src/github.com/prologic/gopherproxy

COPY . /go/src/github.com/prologic/gopherproxy

RUN go get -v -d
RUN go install -v github.com/prologic/gopherproxy/...