Update to latest Ruby and Alpine Linux. Also adds markdownlint-cli

This commit is contained in:
Evan Read 2018-11-12 15:44:55 +10:00
parent 87da2af869
commit ef78344b84

View file

@ -1,4 +1,4 @@
FROM ruby:2.5-alpine
FROM ruby:2.5.3-alpine3.8
MAINTAINER GitLab Documentation Team
WORKDIR /tmp
@ -6,7 +6,10 @@ WORKDIR /tmp
RUN apk update && apk upgrade && apk add --no-cache \
build-base \
bash \
grep
grep \
yarn
RUN yarn global add markdownlint-cli && yarn cache clean
RUN wget https://gitlab.com/gitlab-com/gitlab-docs/-/archive/master/gitlab-docs-master.tar.bz2 \
&& tar xvjf gitlab-docs-master.tar.bz2 \