From 4f064f0aa21095b80fae9c10cb0631f7c467394d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 Oct 2022 00:55:57 +0200 Subject: frontend: use normal Alpine image instead of nginx I've had a problem with the nginx:1-alpine image switching Alpine versions, so I'm fixing the version at least. --- docker/frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/frontend/Dockerfile') diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 528ace2..ef76fc6 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1-alpine AS base +FROM alpine:3.16 AS base FROM base AS builder @@ -22,7 +22,7 @@ RUN apk add --no-cache py3-pip && \ FROM base -RUN apk add --no-cache cgit dash fcgiwrap python3 spawn-fcgi tini && \ +RUN apk add --no-cache cgit dash fcgiwrap nginx python3 spawn-fcgi tini && \ # Replace the theme with the one I like better: grep -q -F -- "style='pastie'" /usr/lib/cgit/filters/syntax-highlighting.py && \ sed -i -e "s/style='pastie'/style='vs'/" -- /usr/lib/cgit/filters/syntax-highlighting.py -- cgit v1.2.3