-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
47 lines (45 loc) · 1015 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:22.04
ARG UID=1000
ARG GID=1000
RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends \
locales
RUN locale-gen en_US.UTF-8
RUN DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
sudo \
gawk \
wget \
git \
diffstat \
unzip \
texinfo \
gcc \
build-essential \
chrpath \
socat \
cpio \
python3 \
python3-pip \
python3-pexpect \
xz-utils \
debianutils \
iputils-ping \
python3-git \
python3-jinja2 \
python3-subunit \
zstd \
liblz4-tool \
file \
locales \
libacl1 \
make \
inkscape \
texlive-latex-extra \
sphinx \
python3-saneyaml \
python3-sphinx-rtd-theme
RUN groupadd -g $GID builder
RUN useradd -m -u $UID -g $GID -s /bin/bash -G sudo builder
USER builder
WORKDIR /home/builder