Skip to content

Commit 0153621

Browse files
Jossec101cdecker
authored andcommitted
Fixes ElementsProject#5276 by using as docker base image debian bullseye instead of buster
Changelog-Fixed: Upgrade docker base image from Debian buster to bullseye to work with glibc 2.29+ ElementsProject#5276
1 parent c7d359b commit 0153621

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# * final: Copy the binaries required at runtime
66
# The resulting image uploaded to dockerhub will only contain what is needed for runtime.
77
# From the root of the repository, run "docker build -t yourimage:yourtag ."
8-
FROM debian:buster-slim as downloader
8+
FROM debian:bullseye-slim as downloader
99

1010
RUN set -ex \
1111
&& apt-get update \
@@ -45,7 +45,7 @@ RUN mkdir /opt/litecoin && cd /opt/litecoin \
4545
&& tar -xzvf litecoin.tar.gz $BD/litecoin-cli --strip-components=1 --exclude=*-qt \
4646
&& rm litecoin.tar.gz
4747

48-
FROM debian:buster-slim as builder
48+
FROM debian:bullseye-slim as builder
4949

5050
ENV LIGHTNINGD_VERSION=master
5151
RUN apt-get update -qq && \
@@ -111,7 +111,7 @@ RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/inst
111111

112112
RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVELOPER=${DEVELOPER} && make install
113113

114-
FROM debian:buster-slim as final
114+
FROM debian:bullseye-slim as final
115115

116116
COPY --from=downloader /opt/tini /usr/bin/tini
117117
RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-tools python3 python3-pip libpq5\

0 commit comments

Comments
 (0)