blob: 99b855803724fb604e544ac1d198eaf5c2328cb2 (
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
|
#
# Image that contains all Nanoc dependencies and tools that
# are needed to build the docs site and run the tests.
#
FROM ruby:2.6.6-alpine3.12
MAINTAINER GitLab Documentation Team
# Install dependencies
RUN apk add --no-cache -U \
bash \
build-base \
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"
|