-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (31 loc) · 1018 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
FROM debian:bookworm
MAINTAINER Leandro Lisboa Penz <lpenz@lpenz.org>
# install debian packages:
ENV DEBIAN_FRONTEND noninteractive
RUN set -e -x; \
apt-get update; \
apt-get install -y --no-install-recommends locales \
graphviz txt2tags \
ghc \
r-cran-ggplot2 r-cran-reshape \
pandoc \
inkscape \
python3-pip python3-setuptools python3-wheel \
python3-mako python3-yaml python3-nose flake8 black \
sudo python3-pexpect \
cryptsetup fdisk udftools \
gnupg gpg gpg-agent \
linkchecker \
scons \
git
# setup locales, sudo and su
RUN set -e -x; \
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen; locale-gen; \
echo 'ALL ALL=NOPASSWD:ALL' > /etc/sudoers.d/all; \
chmod 0400 /etc/sudoers.d/all; \
sed -i '/drop_privileges/d' /usr/bin/linkchecker; \
sed -i '/pam_rootok.so$/aauth sufficient pam_permit.so' /etc/pam.d/su
ENV LC_ALL=en_US.UTF-8 \
HOME=/tmp
COPY entrypoint /
CMD /entrypoint