Skip to content

Commit

Permalink
Merge pull request #9 from zazuko/ubuntu
Browse files Browse the repository at this point in the history
Migrate to Ubuntu
  • Loading branch information
ludovicm67 authored Apr 23, 2024
2 parents 1917df4 + 917085e commit 79cac43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
platforms: |
linux/386
linux/amd64
linux/arm/v6
linux/arm/v7
linux/arm64/v8
linux/arm64
linux/ppc64le
linux/s390x
linux/arm/v7
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 79cac43

Please sign in to comment.