mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
Updated dockerfile to latest alpine image and updated docs
This commit is contained in:
parent
57898a9c71
commit
01e226cea2
16
Dockerfile
16
Dockerfile
@ -1,8 +1,14 @@
|
|||||||
# Docker image for the Drone build runner
|
# Docker image for the Drone Swift plugin
|
||||||
#
|
#
|
||||||
# CGO_ENABLED=0 go build -a -tags netgo
|
# cd $GOPATH/src/github.com/drone-plugins/drone-ssh
|
||||||
# docker build --rm=true -t plugins/drone-ssh .
|
# make deps build docker
|
||||||
|
|
||||||
|
FROM alpine:3.3
|
||||||
|
|
||||||
|
RUN apk update && \
|
||||||
|
apk add \
|
||||||
|
ca-certificates && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
FROM gliderlabs/alpine:3.1
|
|
||||||
ADD drone-ssh /bin/
|
ADD drone-ssh /bin/
|
||||||
ENTRYPOINT ["/bin/drone-ssh"]
|
ENTRYPOINT ["/bin/drone-ssh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user