Skip to content

Commit

Permalink
Fix Debian stretch sources and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
szarski committed Feb 16, 2024
1 parent 106b9c2 commit 4271273
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

#
Expand Down

0 comments on commit 4271273

Please sign in to comment.