From 3c87da15e1ba4705da33830c20e95a8f44457703 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Tue, 19 Mar 2019 12:56:56 +0100 Subject: [PATCH] fixed Docker build --- build/ci/.drone.yml | 2 +- build/package/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 6727a80..41d3713 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -64,7 +64,7 @@ steps: - name: build docker image image: docker commands: - - cp dist/mark2web-`cat build/VERSION`-linux-amd64 mark2web + - cp dist/mark2web-`cat build/VERSION`-linux-amd64 build/package/mark2web - docker build -t apairon/mark2web build/package volumes: - name: docker diff --git a/build/package/Dockerfile b/build/package/Dockerfile index 1924f05..310b3e3 100644 --- a/build/package/Dockerfile +++ b/build/package/Dockerfile @@ -1,4 +1,4 @@ FROM alpine RUN apk update && apk add ca-certificates openssh-client sshpass rsync gzip && rm -r /var/cache/ -ADD ../../mark2web / +ADD mark2web / CMD ["/mark2web"]