add support for docker swarm secrets paperkey
This commit is contained in:
@ -5,9 +5,11 @@ COPY . .
|
||||
RUN go get -d -v
|
||||
RUN go build -o app .
|
||||
|
||||
FROM keybaseio/client:latest
|
||||
FROM keybaseio/client:stable-slim
|
||||
|
||||
WORKDIR /home/keybase
|
||||
COPY --from=builder /go/src/app/app .
|
||||
COPY --from=builder /go/src/app/provision.sh .
|
||||
ENV KEYBASE_SERVICE=1
|
||||
CMD ["./app"]
|
||||
RUN chmod +x provision.sh
|
||||
CMD ["./provision.sh"]
|
||||
|
||||
Reference in New Issue
Block a user