docker – Blame information for rev 39

Subversion Repositories:
Rev:
Rev Author Line No. Line
32 office 1 FROM debian:bookworm-slim
2  
3 # add filesystem requirements
4 ADD rootfs /
5  
6 # update package manager
7 RUN apt-get update -y && \
8 apt-get upgrade -y && \
9 apt-get dist-upgrade -y && \
10 apt-get -y autoremove && \
11 apt-get clean
12  
13 # install preliminary packages
14 RUN apt-get install -y \
15 coreutils \
16 bash \
17 curl \
18 ca-certificates \
19 build-essential \
20 distcc \
21 autoconf \
22 automake \
23 libtool \
24 zlib1g \
25 zlib1g-dev \
26 libssl3 \
39 office 27 libssl-dev \
28 supervisor \
29 inotify-tools
32 office 30  
39 office 31 # compile
32 office 32 WORKDIR /tmp
33 RUN mkdir -p /tmp/build && \
34 curl -o /tmp/build/source.tar.gz "https://mmonit.com/monit/dist/monit-latest.tar.gz" && \
35 cd /tmp/build && \
36 tar --strip=1 -xf source.tar.gz && \
37 export DISTCC_HOSTS="docker1.internal:35001 docker2.internal:35002 docker3.internal:35003" CC="distcc" CXX="distcc g++" && \
38 ./configure --without-pam && \
39 make -j4 && \
40 make install && \
41 rm -rf /tmp/build
42  
43 # remove packages that will not be used
44 RUN apt-get purge -y \
45 curl \
46 git \
47 build-essential \
48 autoconf \
49 automake \
50 libtool \
51 pkgconf && \
52 apt-get autoremove -y
53  
54 EXPOSE 2812
55  
39 office 56 WORKDIR /
57  
58 ENTRYPOINT [ "supervisord", "-t", "-n", "-c", "/etc/supervisor.conf" ]