From 7278a19c9d05434c3671d2c2132486405b7eb07d Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Sun, 20 Jan 2019 20:45:28 +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 5c515de..0000000 --- a/Dockerfile.i386 +++ /dev/null @@ -1,9 +0,0 @@ -FROM plugins/base:multiarch - -LABEL maintainer="Drone.IO Community " \ - org.label-schema.name="Drone Matrix" \ - org.label-schema.vendor="Drone.IO Community" \ - org.label-schema.schema-version="1.0" - -ADD release/linux/i386/drone-matrix /bin/ -ENTRYPOINT ["/bin/drone-matrix"] 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 77d199a..958c48a 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 Matrix" ` org.label-schema.vendor="Drone.IO Community" ` org.label-schema.schema-version="1.0" -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - ADD release\drone-matrix.exe c:\drone-matrix.exe ENTRYPOINT [ "c:\\drone-matrix.exe" ]