-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (28 loc) · 943 Bytes
/
Dockerfile
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
ARG GITIT_IMAGE=t13a/gitit:0.13.0.0
FROM ${GITIT_IMAGE}
ARG GITIT_BOOTSTRAP_THEME_BRANCH=v0.1.0
ARG GITIT_BOOTSTRAP_THEME_REPOSITORY=https://github.com/t13a/gitit-bootstrap-theme
ARG GITIT_PLUGINS_BRANCH=v0.2.0
ARG GITIT_PLUGINS_REPOSITORY=https://github.com/t13a/gitit-plugins
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
python-pip \
python-setuptools \
python-wheel \
unzip \
&& rm -rf /var/lib/apt/lists/* \
&& pip --no-cache-dir install plantuml \
&& git clone \
-b "${GITIT_PLUGINS_BRANCH}" \
--depth 1 \
"${GITIT_PLUGINS_REPOSITORY}" \
/opt/gitit-plugins \
&& git clone \
-b "${GITIT_BOOTSTRAP_THEME_BRANCH}" \
--depth 1 \
"${GITIT_BOOTSTRAP_THEME_REPOSITORY}" \
/opt/gitit-bootstrap-theme \
&& /opt/gitit-bootstrap-theme/build.sh
COPY rootfs /