mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
https://gitlab.com/gitlab-org/gitlab-docs/merge_requests/547 We need this for older GitLab versions, otherwise the docs lint job will fail https://dev.gitlab.org/gitlab/gitlabhq/-/jobs/5263777.
22 lines
659 B
Docker
22 lines
659 B
Docker
FROM ruby:2.6.3-alpine3.10
|
|
MAINTAINER GitLab Documentation Team
|
|
|
|
WORKDIR /tmp
|
|
|
|
ENV GITLAB_DOCS_REVISION=68a38f4bf0d69b9038e5d88816eebcd6471acc19
|
|
|
|
RUN apk update && apk upgrade --no-cache && apk add --no-cache \
|
|
build-base \
|
|
bash \
|
|
grep \
|
|
yarn
|
|
|
|
RUN yarn global add markdownlint-cli@0.18.0 && yarn cache clean
|
|
|
|
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
|