Skip to content

chore: updating to use nginx-1.27.3 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
IMAGE_NAME: jbeveridge/nginx-distroless
NGINX_VERSION: 1.27.2
NGINX_VERSION: 1.27.3

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading