mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
338 B
18 lines
338 B
3 years ago
|
FROM golang:1.14.1-alpine
|
||
|
|
||
|
ENV NOTARYPKG github.com/theupdateframework/notary
|
||
|
ENV GO111MODULE=on
|
||
|
|
||
|
# Copy the local repo to the expected go path
|
||
|
COPY . /go/src/${NOTARYPKG}
|
||
|
|
||
|
WORKDIR /go/src/${NOTARYPKG}
|
||
|
|
||
|
EXPOSE 4450
|
||
|
|
||
|
# Install escrow
|
||
|
RUN go install ${NOTARYPKG}/cmd/escrow
|
||
|
|
||
|
ENTRYPOINT [ "escrow" ]
|
||
|
CMD [ "-config=cmd/escrow/config.toml" ]
|