Updated to current build process

This commit is contained in:
Thomas Boerger
2018-03-16 13:15:44 +01:00
parent beee85a886
commit be6cd1dee9
13 changed files with 287 additions and 82 deletions
+11 -10
View File
@@ -1,13 +1,14 @@
FROM microsoft/nanoserver:latest
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
# escape=`
FROM microsoft/nanoserver:10.0.14393.1593
# TODO: install nodejs and git
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"
LABEL org.label-schema.version=latest
LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-npm.git"
LABEL org.label-schema.name="Drone NPM"
LABEL org.label-schema.vendor="Drone.IO Community"
LABEL org.label-schema.schema-version="1.0"
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
ADD release/windows/amd64/drone-npm /bin/
ENTRYPOINT [ "/bin/drone-npm" ]
# TODO: install required tools
ADD release\drone-npm.exe c:\drone-npm.exe
ENTRYPOINT [ "c:\\drone-npm.exe" ]