Fix Dockerfile by updating from jessie to bookworm

This commit is contained in:
Adam Spiers 2024-04-07 12:51:21 +01:00
parent fee2225dc9
commit a070116621

View file

@ -16,10 +16,9 @@
# Build docker image: `docker build -t stowtest` # Build docker image: `docker build -t stowtest`
# Run tests: (from stow src directory) # Run tests: (from stow src directory)
# `docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) stowtest` # `docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) stowtest`
FROM debian:jessie FROM debian:bookworm
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -qq && \
apt-get install -y -q \ apt-get install -y -q \
autoconf \ autoconf \
bzip2 \ bzip2 \