mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-02-17 09:48:50 +08:00
update dockerfile. (#99)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
FROM appleboy/golang-testing AS build-env
|
||||
ADD . /go/src/github.com/appleboy/drone-ssh
|
||||
RUN cd /go/src/github.com/appleboy/drone-ssh && make docker_build
|
||||
|
||||
FROM alpine:3.4
|
||||
|
||||
RUN apk update && \
|
||||
@@ -10,5 +6,5 @@ RUN apk update && \
|
||||
openssh-client && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY --from=build-env /go/src/github.com/appleboy/drone-ssh/drone-ssh /bin
|
||||
ADD drone-ssh /bin/
|
||||
ENTRYPOINT ["/bin/drone-ssh"]
|
||||
|
||||
Reference in New Issue
Block a user