blob: 4df1aab13549f17a131b72b407d3859c3f577ba0 (
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
|
#
# 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
|