From 23bdb27e1c894d5af09ce2a2778e542091053b8e Mon Sep 17 00:00:00 2001 From: dormancygrace Date: Thu, 29 Dec 2022 03:49:39 +0200 Subject: [PATCH 1/2] Update base image Update base image to debian bullseye. --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 3226450..19e67ea 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ # Nginx Builder ############# -FROM debian:buster-slim as nginxbuilder +FROM debian:bullseye-slim as nginxbuilder ARG OPENRESTY_VERSION ARG LUA_VERSION @@ -33,7 +33,7 @@ RUN /tmp/build-openresty # Final Image ############# -FROM debian:buster-slim +FROM debian:bullseye-slim LABEL maintainer="Jamie Curnow " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -51,7 +51,7 @@ RUN apt-get update \ jq \ libncurses6 \ libpcre3 \ - libreadline7 \ + libreadline8 \ openssl \ perl \ tzdata \ From 9a9197795f0de2bffde7888b14a566979735003c Mon Sep 17 00:00:00 2001 From: dormancygrace Date: Thu, 29 Dec 2022 06:29:23 +0200 Subject: [PATCH 2/2] Fix echo --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 19e67ea..3dc3611 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -39,7 +39,7 @@ LABEL maintainer="Jamie Curnow " SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG TARGETPLATFORM -RUN echo "Base: debian:buster-slim, ${TARGETPLATFORM:-linux/amd64}" > /built-for-arch +RUN echo "Base: debian:bullseye-slim, ${TARGETPLATFORM:-linux/amd64}" > /built-for-arch # OpenResty uses LuaJIT which has a dependency on GCC RUN apt-get update \