-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile-fedora36
74 lines (49 loc) · 1.71 KB
/
Dockerfile-fedora36
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
63
64
65
66
67
68
69
70
71
72
73
74
# Fedora base image
#-----------------------------------------------------------------------------------------
#
# docker_build_image fedora:36 Dockerfile-fedora36 base:fedora36 "--no-cache"
# docker_run_image base:fedora36 [i]
# docker_tag_and_push_image jeffersonlab/base:fedora36
#
#-----------------------------------------------------------------------------------------
FROM imagetemplate
LABEL maintainer="Maurizio Ungaro <[email protected]>"
# run shell instead of sh
SHELL ["/bin/bash", "-c"]
# JLab certificate
ADD https://pki.jlab.org/JLabCA.crt /etc/pki/ca-trust/source/anchors/JLabCA.crt
RUN update-ca-trust
RUN dnf install -y \
git make cmake gcc-c++ \
expat-devel \
mariadb-devel sqlite-devel \
python3-devel python3-scons \
mesa-libGLU-devel libX11-devel libXpm-devel libXft-devel libXt-devel libXmu-devel libXrender-devel xorg-x11-server-Xvfb xrandr \
bzip2 wget curl nano which bash tcsh zsh hostname gedit environment-modules \
psmisc procps mailcap net-tools \
perl-CPAN glibc-langpack-en \
xterm \
x11vnc novnc \
fluxbox supervisor \
qt5-qtbase-devel qt5-linguist \
root \
&& dnf -y update \
&& dnf -y check-update \
&& dnf clean packages \
&& dnf clean all \
&& rm -rf /var/cache/yum \
&& ln -s /usr/bin/cmake3 /usr/local/bin/cmake
# 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