From 4271273967238a658d4ea2e0b28b152a89dacf93 Mon Sep 17 00:00:00 2001 From: Jacek Szarski Date: Fri, 16 Feb 2024 13:45:34 +0100 Subject: [PATCH] Fix Debian stretch sources and dependencies --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92a804d..49d5ad7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,15 @@ -ARG buildpack_tag=buster +ARG buildpack_tag FROM buildpack-deps:${buildpack_tag} +ARG buildpack_tag USER root ENV LANG=C.UTF-8 ENV HOME=/root -RUN apt-get update && apt-get install -y --no-install-recommends apt-utils \ +RUN if [ "$buildpack_tag" = "stretch" ]; then bash -c "echo 'deb http://archive.debian.org/debian stretch main' > /etc/apt/sources.list"; fi; + +RUN apt-get update && apt-get install -y --no-install-recommends \ lsb-release software-properties-common #