-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu.dockerfile
70 lines (62 loc) · 1.73 KB
/
ubuntu.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
FROM ubuntu:jammy as qorus_base
COPY . /tmp/qorus/
RUN /tmp/qorus/docker/ubuntu/prep_base.sh
FROM ubuntu:jammy as qorus
LABEL maintainer="[email protected]" \
org.label-schema.schema-version="1.0" \
org.label-schema.vendor="Qore Technologies" \
org.label-schema.name="Qorus Release Image - Ubuntu Jammy Jellyfish"
COPY --from=qorus_base /buildroot /delta
RUN cp -apRxuv /delta/* / && rm -rf /delta
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
&& apt update && apt upgrade -y \
&& ln -fs /usr/share/zoneinfo/Europe/Prague /etc/localtime \
&& apt-get install -y tzdata \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt-get -y install --no-install-recommends \
netbase \
ca-certificates \
openssl \
libmpfr6 \
libpcre3 \
libssl3 \
zlib1g \
runit \
dumb-init \
procps \
iproute2 \
bzip2 \
xz-utils \
curl \
vim \
libmagic1 \
libmariadb3 \
libaio1 \
unixodbc \
odbcinst1debian2 \
libtommath1 \
libldap-2.5-0 \
postgresql-client-14 \
uuid-runtime \
freetds-bin \
libct4 \
libxml2 \
libxmlsec1 \
libxmlsec1-openssl \
libyaml-0-2 \
libzmq5 \
libczmq4 \
nodejs \
openjdk-17-jdk \
libpython3.10 \
pip \
python-is-python3 \
less \
&& apt -y install software-properties-common dirmngr apt-transport-https lsb-release ca-certificates \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 8001 8011
VOLUME /opt/qorus/etc
VOLUME /opt/qorus/log
STOPSIGNAL SIGTERM
ENTRYPOINT ["/opt/qorus/bin/entrypoint.sh"]