forked from ElektraInitiative/libelektra
/
doc.Dockerfile
42 lines (36 loc) · 904 Bytes
/
doc.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
34
35
36
37
38
39
40
41
42
FROM debian:buster
ENV LANG C.UTF-8
ENV LANGUAGE C.UTF-8
ENV LC_ALL C.UTF-8
RUN apt-get update && apt-get -y install \
cmake git build-essential curl
RUN apt-get -y install \
doxygen \
graphviz \
ronn \
googletest \
ruby \
ruby-dev \
sloccount \
texlive-latex-base \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
&& gem install apiaryio \
&& rm -rf /var/lib/apt/lists/*
# Create User:Group
# The id is important as jenkins docker agents use the same id that is running
# on the slaves to execute containers
ARG JENKINS_GROUPID
RUN groupadd \
-g ${JENKINS_GROUPID} \
-f \
jenkins
ARG JENKINS_USERID
RUN useradd \
--create-home \
--uid ${JENKINS_USERID} \
--gid ${JENKINS_GROUPID} \
--shell "/bin/bash" \
jenkins
USER ${JENKINS_USERID}