Skip to content

Instantly share code, notes, and snippets.

@MarioCarrion
Created April 5, 2018 01:42
Show Gist options
  • Save MarioCarrion/1421c00bc80694ff8c127ccdc1b2b867 to your computer and use it in GitHub Desktop.
Save MarioCarrion/1421c00bc80694ff8c127ccdc1b2b867 to your computer and use it in GitHub Desktop.
Judging go-swagger with Dredd
# vim: set syntax=dockerfile:
FROM node:9.9.0-alpine
RUN apk --update upgrade && \
apk add python && \
npm config set loglevel error && \
npm install -g dredd@5.1.4 && \
apk del python && \
rm -rf /var/cache/apk/*
ENV PATH ${PATH}:/node_modules/.bin
ENTRYPOINT ["dredd", "--version"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment