diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2db3451..28e1c92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: env: IMAGE_NAME: jbeveridge/nginx-distroless - NGINX_VERSION: 1.27.2 + NGINX_VERSION: 1.27.3 jobs: build: diff --git a/Dockerfile b/Dockerfile index 2db0c27..95207d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ # Build stage FROM debian:bookworm-slim AS build -ARG NGINX_VERSION=1.27.2 +ARG NGINX_VERSION=1.27.3 WORKDIR /var/www/nginx-distroless RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # Install necessary libraries and dependencies to compile nginx RUN apt-get update && apt-get install -y \ - gcc g++ make unzip \ + build-essential gcc g++ make unzip \ libaio-dev libc-dev libxslt1-dev libxml2-dev zlib1g-dev \ libpcre3-dev libbz2-dev libssl-dev autoconf wget \ lsb-release apt-transport-https ca-certificates diff --git a/README.md b/README.md index 4819369..16d9d72 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ ![Docker Pulls](https://img.shields.io/docker/pulls/jbeveridge/nginx-distroless) ![Docker Image Size](https://img.shields.io/docker/image-size/jbeveridge/nginx-distroless/latest) -This repository contains a Dockerfile that builds a lightweight distroless NGINX 1.27.2 image from source, based on the article [Smallest Distroless NGINX Container](https://medium.com/@rockmetoo/smallest-distroless-nginx-container-alpine-c08c3a9cac93). The NGINX build is customized with various modules and optimizations for security and performance. +This repository contains a Dockerfile that builds a lightweight distroless NGINX 1.27.3 image from source, based on the article [Smallest Distroless NGINX Container](https://medium.com/@rockmetoo/smallest-distroless-nginx-container-alpine-c08c3a9cac93). The NGINX build is customized with various modules and optimizations for security and performance. ## Table of Contents - +~~~~ - [Why Distroless](#why-distroless) - [Features](#features) - [Building the Docker Image](#building-the-docker-image)