mirror of https://github.com/docker/docs.git
19 lines
434 B
Plaintext
19 lines
434 B
Plaintext
FROM golang
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
libltdl-dev \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY . /go/src/github.com/docker/notary
|
|
|
|
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" ]
|