mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Pin version of GitLab Docs
This commit is contained in:
parent
fac433faa6
commit
8004030d65
1 changed files with 7 additions and 5 deletions
|
|
@ -3,7 +3,9 @@ MAINTAINER GitLab Documentation Team
|
|||
|
||||
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 \
|
||||
bash \
|
||||
grep \
|
||||
|
|
@ -11,10 +13,10 @@ RUN apk update && apk upgrade && apk add --no-cache \
|
|||
|
||||
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 \
|
||||
&& mv gitlab-docs-master gitlab-docs \
|
||||
&& rm 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-$GITLAB_DOCS_REVISION.tar.bz2 \
|
||||
&& mv gitlab-docs-$GITLAB_DOCS_REVISION gitlab-docs \
|
||||
&& rm gitlab-docs-$GITLAB_DOCS_REVISION.tar.bz2
|
||||
|
||||
RUN cd gitlab-docs \
|
||||
&& bundle install --jobs 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue