Pin version of GitLab Docs

This commit is contained in:
Lukas Eipert 2019-07-30 14:02:45 +02:00
parent fac433faa6
commit 8004030d65
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC

View file

@ -3,7 +3,9 @@ MAINTAINER GitLab Documentation Team
WORKDIR /tmp WORKDIR /tmp
RUN apk update && apk upgrade && apk add --no-cache \ ENV GITLAB_DOCS_REVISION=09947dbfa5ed5e597233b97aee9b34621c28e1f7
RUN apk update && apk upgrade --no-cache && apk add --no-cache \
build-base \ build-base \
bash \ bash \
grep \ grep \
@ -11,10 +13,10 @@ RUN apk update && apk upgrade && apk add --no-cache \
RUN yarn global add markdownlint-cli && yarn cache clean 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-org/gitlab-docs/-/archive/$GITLAB_DOCS_REVISION/gitlab-docs-$GITLAB_DOCS_REVISION.tar.bz2 \
&& tar xvjf gitlab-docs-master.tar.bz2 \ && tar xvjf gitlab-docs-$GITLAB_DOCS_REVISION.tar.bz2 \
&& mv gitlab-docs-master gitlab-docs \ && mv gitlab-docs-$GITLAB_DOCS_REVISION gitlab-docs \
&& rm gitlab-docs-master.tar.bz2 && rm gitlab-docs-$GITLAB_DOCS_REVISION.tar.bz2
RUN cd gitlab-docs \ RUN cd gitlab-docs \
&& bundle install --jobs 4 && bundle install --jobs 4