mirror of
https://github.com/drone-plugins/drone-npm.git
synced 2026-06-14 22:11:21 +08:00
Move dockerfiles to docker folder
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
FROM plugins/base:linux-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"
|
||||
|
||||
RUN apk add --no-cache git nodejs nodejs-npm
|
||||
|
||||
ADD release/linux/amd64/drone-npm /bin/
|
||||
ENTRYPOINT ["/bin/drone-npm"]
|
||||
@@ -0,0 +1,11 @@
|
||||
FROM plugins/base:linux-arm
|
||||
|
||||
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"
|
||||
|
||||
RUN apk add --no-cache git nodejs nodejs-npm
|
||||
|
||||
ADD release/linux/arm/drone-npm /bin/
|
||||
ENTRYPOINT [ "/bin/drone-npm" ]
|
||||
@@ -0,0 +1,11 @@
|
||||
FROM plugins/base:linux-arm64
|
||||
|
||||
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"
|
||||
|
||||
RUN apk add --no-cache git nodejs nodejs-npm
|
||||
|
||||
ADD release/linux/arm64/drone-npm /bin/
|
||||
ENTRYPOINT [ "/bin/drone-npm" ]
|
||||
@@ -0,0 +1,12 @@
|
||||
# escape=`
|
||||
FROM plugins/base:windows-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" ]
|
||||
Reference in New Issue
Block a user