mirror of
https://github.com/drone-plugins/drone-npm.git
synced 2026-06-04 18:23:52 +08:00
add raw Dockerfile for build process
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
# Docker image for the Drone NPM plugin
|
||||
#
|
||||
# cd $GOPATH/src/github.com/drone-plugins/drone-npm
|
||||
# CGO_ENABLED=0 go build -a -tags netgo
|
||||
# docker build --rm=true -t plugins/drone-npm .
|
||||
|
||||
FROM alpine:3.2
|
||||
RUN apk add -U ca-certificates git nodejs && rm -rf /var/cache/apk/*
|
||||
ADD drone-npm /bin/
|
||||
ENTRYPOINT ["/bin/drone-npm"]
|
||||
Reference in New Issue
Block a user