diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8dce33a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine + +RUN apk add --update nodejs +RUN apk add npm +RUN rm /var/cache/apk/* +RUN npm install -g jsonlint \ No newline at end of file diff --git a/drone.yml b/drone.yml new file mode 100644 index 0000000..819da14 --- /dev/null +++ b/drone.yml @@ -0,0 +1,13 @@ + +kind: pipeline +name: docker-json-validate build + +steps: +- name: docker + image: plugins/docker + settings: + repo: fftdf/docker-json-validate + username: + from_secret: docker_username + password: + from_secret: docker_password \ No newline at end of file