-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile-fedora36-latex
62 lines (45 loc) · 1.64 KB
/
Dockerfile-fedora36-latex
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# fedora36 latex base image
#--------------------------------------------------------------------------
#
# docker_build_image fedora:36 Dockerfile-fedora36-latex base:fedora36-latex "--no-cache"
# docker_run_image base:fedora36-latex [i]
# docker_tag_and_push_image maureeungaro/base:fedora36-latex
#
#--------------------------------------------------------------------------
FROM imagetemplate
LABEL maintainer="Maurizio Ungaro <[email protected]>"
# run shell instead of sh
SHELL ["/bin/bash", "-c"]
ADD https://pki.jlab.org/JLabCA.crt /etc/pki/ca-trust/source/anchors/JLabCA.crt
RUN update-ca-trust
RUN dnf install -y \
python3-devel \
python3-scons \
bzip2 wget curl nano git which bash tcsh zsh hostname gedit environment-modules \
psmisc procps mailcap net-tools \
perl-CPAN glibc-langpack-en \
xorg-x11-server-Xvfb xterm \
x11vnc novnc \
fluxbox supervisor \
texlive-scheme-basic texlive-wrapfig texlive-multirow texlive-sidecap texlive-fancyhdr texlive-everysel \
texlive-collection-fontsrecommended texlive-sauter texlive-revtex4 texlive-sttools \
texlive-pythontex texlive-fvextra \
&& dnf -y update \
&& dnf -y check-update \
&& dnf clean packages \
&& dnf clean all \
&& rm -rf /var/cache/yum
# Setup demo environment variables
ENV HOME=/root \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
LC_ALL=C.UTF-8 \
DISPLAY=:0.0 \
DISPLAY_WIDTH=1400 \
DISPLAY_HEIGHT=1000 \
RUN_XTERM=yes \
RUN_FLUXBOX=yes
COPY conf.d /app/conf.d
COPY supervisord.conf entrypoint.sh /app/
CMD ["/app/entrypoint.sh"]
EXPOSE 8080