Skip to content

Commit

Permalink
migrate to ubuntu base image
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Apr 23, 2024
1 parent 1917df4 commit 11313e8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 /
Expand Down

0 comments on commit 11313e8

Please sign in to comment.