"Fossies" - the Fresh Open Source Software Archive 
Member "mattermost-server-7.9.1/build/Dockerfile" (16 Mar 2023, 3437 Bytes) of package /linux/www/mattermost-server-7.9.1.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "Dockerfile":
7.8.1_vs_7.9.0.
1 FROM debian:buster-slim@sha256:5b0b1a9a54651bbe9d4d3ee96bbda2b2a1da3d2fa198ddebbced46dfdca7f216
2
3
4 # Setting bash as our shell, and enabling pipefail option
5 SHELL ["/bin/bash", "-o", "pipefail", "-c"]
6
7 # Some ENV variables
8 ENV PATH="/mattermost/bin:${PATH}"
9 ARG PUID=2000
10 ARG PGID=2000
11 ARG MM_PACKAGE="https://releases.mattermost.com/7.8.0/mattermost-7.8.0-linux-amd64.tar.gz?src=docker"
12
13 # # Install needed packages and indirect dependencies
14 RUN apt-get update \
15 && apt-get install --no-install-recommends -y \
16 ca-certificates=20200601~deb10u2 \
17 curl=7.64.0-4+deb10u2 \
18 mime-support=3.62 \
19 unrtf=0.21.10-clean-1 \
20 wv=1.2.9-4.2+b2 \
21 poppler-utils=0.71.0-5 \
22 tidy=2:5.6.0-10 \
23 libssl1.1=1.1.1n-0+deb10u3 \
24 sensible-utils=0.0.12 \
25 libsasl2-modules-db=2.1.27+dfsg-1+deb10u2 \
26 libsasl2-2=2.1.27+dfsg-1+deb10u2 \
27 libldap-common=2.4.47+dfsg-3+deb10u7 \
28 libldap-2.4-2=2.4.47+dfsg-3+deb10u7 \
29 libicu63=63.1-6+deb10u3 \
30 libxml2=2.9.4+dfsg1-7+deb10u4 \
31 ucf=3.0038+nmu1 \
32 openssl=1.1.1n-0+deb10u3 \
33 libkeyutils1=1.6-6 \
34 libkrb5support0=1.17-3+deb10u4 \
35 libk5crypto3=1.17-3+deb10u4 \
36 libkrb5-3=1.17-3+deb10u4 \
37 libgssapi-krb5-2=1.17-3+deb10u4 \
38 libnghttp2-14=1.36.0-2+deb10u1 \
39 libpsl5=0.20.2-2 \
40 librtmp1=2.4+20151223.gitfa8646d.1-2 \
41 libssh2-1=1.8.0-2.1 \
42 libcurl4=7.64.0-4+deb10u2 \
43 fonts-dejavu-core=2.37-1 \
44 fontconfig-config=2.13.1-2 \
45 libbsd0=0.9.1-2+deb10u1 \
46 libexpat1=2.2.6-2+deb10u4 \
47 libpng16-16=1.6.36-6 \
48 libfreetype6=2.9.1-3+deb10u2 \
49 libfontconfig1=2.13.1-2 \
50 libpixman-1-0=0.36.0-1 \
51 libxau6=1:1.0.8-1+b2 \
52 libxdmcp6=1:1.1.2-3 \
53 libxcb1=1.13.1-2 \
54 libx11-data=2:1.6.7-1+deb10u2 \
55 libx11-6=2:1.6.7-1+deb10u2 \
56 libxcb-render0=1.13.1-2 \
57 libxcb-shm0=1.13.1-2 \
58 libxext6=2:1.3.3-1+b2 \
59 libxrender1=1:0.9.10-1 \
60 libcairo2=1.16.0-4+deb10u1 \
61 libcurl3-gnutls=7.64.0-4+deb10u5 \
62 libglib2.0-0=2.58.3-2+deb10u3 \
63 libgsf-1-common=1.14.45-1 \
64 libgsf-1-114=1.14.45-1 \
65 libjbig0=2.1-3.1+b2 \
66 libjpeg62-turbo=1:1.5.2-2+deb10u1 \
67 liblcms2-2=2.9-3 \
68 libnspr4=2:4.20-1 \
69 libsqlite3-0=3.27.2-3+deb10u1 \
70 libnss3=2:3.42.1-1+deb10u5 \
71 libopenjp2-7=2.3.0-2+deb10u2 \
72 libwebp6=0.6.1-2+deb10u1 \
73 libtiff5=4.1.0+git191117-2~deb10u4 \
74 libpoppler82=0.71.0-5 \
75 libtidy5deb1=2:5.6.0-10 \
76 libwmf0.2-7=0.2.8.4-14 \
77 libwv-1.2-4=1.2.9-4.2+b2 \
78 && rm -rf /var/lib/apt/lists/*
79
80 # Set mattermost group/user and download Mattermost
81 RUN mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins \
82 && addgroup -gid ${PGID} mattermost \
83 && adduser -q --disabled-password --uid ${PUID} --gid ${PGID} --gecos "" --home /mattermost mattermost \
84 && if [ -n "$MM_PACKAGE" ]; then curl $MM_PACKAGE | tar -xvz ; \
85 else echo "please set the MM_PACKAGE" ; exit 127 ; fi \
86 && chown -R mattermost:mattermost /mattermost /mattermost/data /mattermost/plugins /mattermost/client/plugins
87
88 # We should refrain from running as privileged user
89 USER mattermost
90
91 #Healthcheck to make sure container is ready
92 HEALTHCHECK --interval=30s --timeout=10s \
93 CMD curl -f http://localhost:8065/api/v4/system/ping || exit 1
94
95 # Configure entrypoint and command
96 COPY entrypoint.sh /
97 ENTRYPOINT ["/entrypoint.sh"]
98 WORKDIR /mattermost
99 CMD ["mattermost"]
100
101 EXPOSE 8065 8067 8074 8075
102
103 # Declare volumes for mount point directories
104 VOLUME ["/mattermost/data", "/mattermost/logs", "/mattermost/config", "/mattermost/plugins", "/mattermost/client/plugins"]