Merge branch 'update-and-add-markdownlint-cli' into 'master'

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

See merge request gitlab-org/gitlab-build-images!147
This commit is contained in:
Achilleas Pipinellis 2018-11-26 08:33:49 +00:00
commit 616d958e54

View file

@ -1,4 +1,4 @@
FROM ruby:2.5-alpine FROM ruby:2.5.3-alpine3.8
MAINTAINER GitLab Documentation Team MAINTAINER GitLab Documentation Team
WORKDIR /tmp WORKDIR /tmp
@ -6,7 +6,10 @@ WORKDIR /tmp
RUN apk update && apk upgrade && apk add --no-cache \ RUN apk update && apk upgrade && apk add --no-cache \
build-base \ build-base \
bash \ 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 \ RUN wget https://gitlab.com/gitlab-com/gitlab-docs/-/archive/master/gitlab-docs-master.tar.bz2 \
&& tar xvjf gitlab-docs-master.tar.bz2 \ && tar xvjf gitlab-docs-master.tar.bz2 \