From c28514592de1c78a2f306059470973545be95994 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Sun, 20 Jan 2019 20:45:24 +0100 Subject: [PATCH] Move dockerfiles to docker folder --- Dockerfile.i386 | 9 --------- Dockerfile => docker/Dockerfile.linux.amd64 | 0 Dockerfile.arm => docker/Dockerfile.linux.arm | 0 Dockerfile.arm64 => docker/Dockerfile.linux.arm64 | 0 Dockerfile.windows => docker/Dockerfile.windows.amd64 | 4 +--- 5 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 Dockerfile.i386 rename Dockerfile => docker/Dockerfile.linux.amd64 (100%) rename Dockerfile.arm => docker/Dockerfile.linux.arm (100%) rename Dockerfile.arm64 => docker/Dockerfile.linux.arm64 (100%) rename Dockerfile.windows => docker/Dockerfile.windows.amd64 (66%) diff --git a/Dockerfile.i386 b/Dockerfile.i386 deleted file mode 100644 index df77dbb..0000000 --- a/Dockerfile.i386 +++ /dev/null @@ -1,9 +0,0 @@ -FROM plugins/base:multiarch - -LABEL maintainer="Drone.IO Community " \ - org.label-schema.name="Drone S3 Sync" \ - org.label-schema.vendor="Drone.IO Community" \ - org.label-schema.schema-version="1.0" - -ADD release/linux/i386/drone-s3-sync /bin/ -ENTRYPOINT ["/bin/drone-s3-sync"] diff --git a/Dockerfile b/docker/Dockerfile.linux.amd64 similarity index 100% rename from Dockerfile rename to docker/Dockerfile.linux.amd64 diff --git a/Dockerfile.arm b/docker/Dockerfile.linux.arm similarity index 100% rename from Dockerfile.arm rename to docker/Dockerfile.linux.arm diff --git a/Dockerfile.arm64 b/docker/Dockerfile.linux.arm64 similarity index 100% rename from Dockerfile.arm64 rename to docker/Dockerfile.linux.arm64 diff --git a/Dockerfile.windows b/docker/Dockerfile.windows.amd64 similarity index 66% rename from Dockerfile.windows rename to docker/Dockerfile.windows.amd64 index 3549bd3..4140b58 100644 --- a/Dockerfile.windows +++ b/docker/Dockerfile.windows.amd64 @@ -1,12 +1,10 @@ # escape=` -FROM microsoft/nanoserver:10.0.14393.1593 +FROM plugins/base:windows-amd64 LABEL maintainer="Drone.IO Community " ` org.label-schema.name="Drone S3 Sync" ` org.label-schema.vendor="Drone.IO Community" ` org.label-schema.schema-version="1.0" -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - ADD release\drone-s3-sync.exe c:\drone-s3-sync.exe ENTRYPOINT [ "c:\\drone-s3-sync.exe" ]