Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base image #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Nginx Builder
#############

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

ARG OPENRESTY_VERSION
ARG LUA_VERSION
Expand Down Expand Up @@ -33,13 +33,13 @@ RUN /tmp/build-openresty
# Final Image
#############

FROM debian:buster-slim
FROM debian:bullseye-slim
LABEL maintainer="Jamie Curnow <jc@jc21.com>"

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 \
Expand All @@ -51,7 +51,7 @@ RUN apt-get update \
jq \
libncurses6 \
libpcre3 \
libreadline7 \
libreadline8 \
openssl \
perl \
tzdata \
Expand Down