Skip to content

Commit

Permalink
fix: pin usage of ubuntu focal
Browse files Browse the repository at this point in the history
  • Loading branch information
jometzner committed Apr 22, 2022
1 parent 4c8b891 commit 0ddcb74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 && \
Expand Down

0 comments on commit 0ddcb74

Please sign in to comment.