blob: 929f36a38245d2dab081f18cc3f5e8ab49f1077f (
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
|
# Must be run with --privileged flag
# Recommended to run the container with a volume mapped
# in order to easy exprort images built to "external" world
FROM debian:stretch
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
vim \
git \
mc \
make \
python3-sphinx \
python-sphinx-rtd-theme \
latexmk \
texlive-latex-recommended \
texlive-fonts-recommended \
texlive-latex-extra sudo \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd -g 1000 debian
RUN useradd -d /home/debian -ms /bin/bash -g 1000 -u 1000 debian && \
echo "debian:debian" | chpasswd && \
adduser debian sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER debian
WORKDIR ~
|