blob: e2ba47a7cd39c620c9bf763d2fa200c4dc1c6e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Image that contains all Nanoc dependencies and tools that
# are needed to build the docs site and run the tests.
#
FROM ruby:2.7.2-alpine3.12
MAINTAINER GitLab Technical Writing team
# Install dependencies
RUN apk add --no-cache -U \
bash \
build-base \
curl \
git \
gnupg \
gzip \
grep \
libcurl \
libxslt \
libxslt-dev \
nodejs \
openssl \
pngquant \
ruby-dev \
tar \
xz \
xz-dev \
go \
yarn
# Do not install rdoc to save some space
RUN echo 'gem: --no-document' >> /etc/gemrc
# Update bundler
RUN gem install bundler -v "1.17.3"
|