mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add GitLab docs linting image to project, based on existing docs image for linting
This commit is contained in:
parent
a561aa78a8
commit
80e889b8f0
3 changed files with 36 additions and 15 deletions
17
Dockerfile.gitlab-docs-lint
Normal file
17
Dockerfile.gitlab-docs-lint
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM ruby:2.5-alpine
|
||||
MAINTAINER GitLab Documentation Team
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
RUN apk update && apk upgrade && apk add --no-cache \
|
||||
build-base \
|
||||
bash \
|
||||
grep
|
||||
|
||||
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 cd gitlab-docs \
|
||||
&& bundle install --jobs 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue