1
- FROM debian:buster as unison
1
+ FROM debian:bullseye-slim as unison
2
2
RUN \
3
3
set -x && \
4
4
export DEBIAN_FRONTEND=noninteractive && \
9
9
wget \
10
10
ocaml-native-compilers && \
11
11
cd /tmp/ && \
12
- wget https://github.com/bcpierce00/unison/archive/v2.51.2 .tar.gz && \
13
- tar -xzvf v2.51.2 .tar.gz && \
14
- cd /tmp/unison-2.51.2 && \
12
+ wget https://github.com/bcpierce00/unison/archive/v2.53.3 .tar.gz && \
13
+ tar -xzvf v2.53.3 .tar.gz && \
14
+ cd /tmp/unison-2.53.3 && \
15
15
make
16
16
17
- FROM debian:buster
17
+ FROM debian:bullseye-slim
18
18
19
19
RUN \
20
20
set -x && \
54
54
/var/log/* \
55
55
/tmp/*
56
56
57
- # Temp workaround bug in system.d with kernel 5.8
58
- RUN \
59
- echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list && \
60
- set -x && \
61
- export DEBIAN_FRONTEND=noninteractive && \
62
- apt-get update && \
63
- apt-get -y -o Dpkg::Options::="--force-confnew" -t=buster-backports upgrade systemd && \
64
- apt-get clean && \
65
- rm -rf \
66
- /var/lib/apt/lists/* \
67
- /var/log/* \
68
- /tmp/*
69
-
70
57
RUN \
71
58
echo 'UseDNS no' >> /etc/ssh/sshd_config && \
72
59
mkdir -p /var/run/sshd && \
@@ -89,16 +76,16 @@ RUN \
89
76
/etc/machine-id \
90
77
/var/lib/dbus/machine-id
91
78
92
- COPY --from=unison /tmp/unison-2.51.2 /src/unison /usr/local/bin/
93
- COPY --from=unison /tmp/unison-2.51.2 /src/unison-fsmonitor /usr/local/bin/
79
+ COPY --from=unison /tmp/unison-2.53.3 /src/unison /usr/local/bin/
80
+ COPY --from=unison /tmp/unison-2.53.3 /src/unison-fsmonitor /usr/local/bin/
94
81
COPY ./ce-dev-ownership.sh /opt/
95
82
COPY ./ce-dev-ssh.sh /opt/
96
83
COPY ./unison.sh /opt/
97
84
COPY ./unison-startup.sh /opt/
98
85
COPY ./procmailrc /etc/procmailrc
99
86
100
87
RUN \
101
- wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.1 /mkcert-v1.4.1 -linux-amd64 -O /usr/local/bin/mkcert && \
88
+ wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.4 /mkcert-v1.4.4 -linux-amd64 -O /usr/local/bin/mkcert && \
102
89
mkdir -p /home/ce-dev/deploy/live.local /home/ce-dev/.composer/cache /home/ce-dev/.nvm/versions/node /home/ce-dev/.local/share/mkcert && \
103
90
chown -R ce-dev:ce-dev /home/ce-dev && \
104
91
chmod +x /usr/local/bin/*
0 commit comments