From 01e226cea248be0e97ac743ab3e212760f96375a Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Fri, 1 Jan 2016 21:34:17 +0100 Subject: [PATCH] Updated dockerfile to latest alpine image and updated docs --- Dockerfile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e09c02..951bcdc 100644 --- a/Dockerfile +++ b/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 -# docker build --rm=true -t plugins/drone-ssh . +# cd $GOPATH/src/github.com/drone-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/ -ENTRYPOINT ["/bin/drone-ssh"] \ No newline at end of file +ENTRYPOINT ["/bin/drone-ssh"]