From 8a797945d4377ac016cfeeffc5962562759550c7 Mon Sep 17 00:00:00 2001 From: Johannes Metzner Date: Fri, 22 Apr 2022 14:00:37 +0200 Subject: [PATCH] fix: pin usage of ubuntu focal --- nginx/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 5180793ecb..7c0ae33762 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest as buildstep +FROM ubuntu:focal as buildstep RUN apt-get update RUN apt-get install -y curl build-essential zlib1g-dev libpcre3-dev unzip wget uuid-dev sudo openssl libssl-dev RUN curl -kfL -sS https://ngxpagespeed.com/install > install.sh @@ -13,7 +13,7 @@ COPY entrypoint.sh *.yaml / COPY 50x.html /usr/share/nginx/html/ ADD https://github.com/hairyhenderson/gomplate/releases/download/v3.8.0/gomplate_linux-amd64-slim /gomplate -FROM ubuntu:latest +FROM ubuntu:focal RUN apt-get update && \ apt-get install -y gettext-base libssl1.1 apache2-utils && \ apt-get -y autoremove && \