mirror of
https://github.com/drone-plugins/drone-npm.git
synced 2026-06-04 18:23:52 +08:00
11 lines
324 B
Docker
11 lines
324 B
Docker
# 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/npm .
|
|
|
|
FROM alpine:3.4
|
|
RUN apk add -U ca-certificates git nodejs && rm -rf /var/cache/apk/*
|
|
ADD drone-npm /bin/
|
|
ENTRYPOINT ["/bin/drone-npm"]
|