blob: 894ac20bc56c9e49de0dddc0eae6d3cfe7d23625 (
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
|
#
# Image that contains all Nanoc dependencies and tools that
# are needed to build the docs site and run the tests.
#
FROM ruby:2.7.4-alpine3.14
MAINTAINER GitLab Technical Writing team
# Install dependencies
RUN apk add --no-cache -U \
bash \
build-base \
curl \
git \
gnupg \
go \
grep \
gzip \
jq \
libcurl \
libxslt \
libxslt-dev \
nodejs \
openssl \
pngquant \
ruby-dev \
tar \
xz \
xz-dev \
yarn
# Do not install rdoc to save some space
RUN echo 'gem: --no-document' >> /etc/gemrc
|