docs/notary-server-Dockerfile

17 lines
367 B
Plaintext

FROM golang
COPY . /go/src/github.com/docker/notary
RUN apt-get update && apt-get install -y \
libltdl-dev
ENV GOPATH /go/src/github.com/docker/notary/Godeps/_workspace:$GOPATH
RUN go install github.com/docker/notary/cmd/notary-server
EXPOSE 4443
WORKDIR /go/src/github.com/docker/notary
CMD [ "notary-server", "-config", "cmd/notary-server/config.json" ]