From 11313e8e45e8ce03093e05e5249a95ec47e54061 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 23 Apr 2024 13:28:40 +0200 Subject: [PATCH] migrate to ubuntu base image --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5270f2..c0850f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM docker.io/library/alpine:3.16 +FROM docker.io/library/ubuntu:22.04 -# configuration +# Configuration ENV BACKEND_HOST="localhost" ENV BACKEND_PORT="3000" ENV CACHE_TTL="3600s" @@ -11,16 +11,16 @@ ENV DISABLE_ERROR_CACHING="true" ENV DISABLE_ERROR_CACHING_TTL="30s" ENV CONFIG_FILE="default.vcl" -# install some dependencies -RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ - >> /etc/apk/repositories -RUN apk add --no-cache \ +# Install some dependencies +RUN apt-get update \ + && apt-get install -y \ gettext \ tini \ varnish \ - varnish-modules@testing + varnish-modules \ + && apt-get clean -# deploy our custom configuration +# Deploy our custom configuration WORKDIR /etc/varnish COPY config/ /templates COPY entrypoint.sh /