Update Dockerfiles from boilr template

This commit is contained in:
Don
2019-12-18 15:58:18 -08:00
parent 971c9c0eb6
commit c93974e14a
5 changed files with 18 additions and 23 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
RUN apk add --no-cache git nodejs nodejs-npm
ADD release/linux/amd64/drone-npm /bin/
ENTRYPOINT ["/bin/drone-npm"]
ENTRYPOINT [ "/bin/drone-npm" ]
+3 -5
View File
@@ -1,12 +1,10 @@
# escape=`
FROM plugins/base:windows-1809
FROM plugins/base:windows-1809-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone NPM" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
# TODO: install required tools
ADD release\drone-npm.exe c:\drone-npm.exe
ENTRYPOINT [ "c:\\drone-npm.exe" ]
ADD release/windows/amd64/drone-npm.exe C:/bin/drone-npm.exe
ENTRYPOINT [ "C:\\bin\\drone-npm.exe" ]
@@ -1,12 +1,10 @@
# escape=`
FROM plugins/base:windows-1803
FROM plugins/base:windows-1903-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone NPM" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
# TODO: install required tools
ADD release\drone-npm.exe c:\drone-npm.exe
ENTRYPOINT [ "c:\\drone-npm.exe" ]
ADD release/windows/amd64/drone-npm.exe C:/bin/drone-npm.exe
ENTRYPOINT [ "C:\\bin\\drone-npm.exe" ]
+10
View File
@@ -0,0 +1,10 @@
# escape=`
FROM plugins/base:windows-1909-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone NPM" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
ADD release/windows/amd64/drone-npm.exe C:/bin/drone-npm.exe
ENTRYPOINT [ "C:\\bin\\drone-npm.exe" ]
+1 -12
View File
@@ -23,15 +23,4 @@ manifests:
architecture: arm
os: linux
variant: v7
-
image: plugins/npm:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1803
platform:
architecture: amd64
os: windows
version: 1803
-
image: plugins/npm:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809
platform:
architecture: amd64
os: windows
version: 1809