2020-01-15 02:50:42 +00:00
|
|
|
FROM node:10-slim
|
2018-02-15 20:08:23 +00:00
|
|
|
|
2020-01-15 02:39:12 +00:00
|
|
|
LABEL maintainer="techknowlogick <techknowlogick@gitea.io>"
|
2018-02-15 20:08:23 +00:00
|
|
|
LABEL org.label-schema.version=latest
|
2020-01-15 02:39:12 +00:00
|
|
|
LABEL org.label-schema.vcs-url="https://github.com/techknowlogick/drone-netlify"
|
2018-02-15 20:08:23 +00:00
|
|
|
LABEL org.label-schema.name="drone-netlify"
|
|
|
|
LABEL org.label-schema.description="Deploying to netlify with Drone CI"
|
2020-01-15 02:39:12 +00:00
|
|
|
LABEL org.label-schema.vendor="techknowlogick"
|
|
|
|
LABEL org.label-schema.schema-version="2.0"
|
2018-02-15 20:08:23 +00:00
|
|
|
|
|
|
|
RUN npm install -g netlify-cli
|
|
|
|
|
|
|
|
ADD script.sh /bin/
|
|
|
|
RUN chmod +x /bin/script.sh
|
|
|
|
|
|
|
|
ENTRYPOINT /bin/script.sh
|