Skip to content

Commit

Permalink
Fixes ElementsProject#5276 by using as docker base image debian bulls…
Browse files Browse the repository at this point in the history
…eye instead of buster

Changelog-Fixed: Upgrade docker base image from Debian buster to bullseye to work with glibc 2.29+ ElementsProject#5276
  • Loading branch information
Jossec101 authored and cdecker committed May 22, 2022
1 parent c7d359b commit 0153621
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# * final: Copy the binaries required at runtime
# The resulting image uploaded to dockerhub will only contain what is needed for runtime.
# From the root of the repository, run "docker build -t yourimage:yourtag ."
FROM debian:buster-slim as downloader
FROM debian:bullseye-slim as downloader

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

FROM debian:buster-slim as builder
FROM debian:bullseye-slim as builder

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

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

FROM debian:buster-slim as final
FROM debian:bullseye-slim as final

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

0 comments on commit 0153621

Please sign in to comment.