Skip to content

Commit 5ab02e9

Browse files
authored
Merge branch 'jlesage:master' into master
2 parents 1b44373 + d3d43a7 commit 5ab02e9

File tree

11 files changed

+189
-90
lines changed

11 files changed

+189
-90
lines changed

.github/workflows/build-image.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,22 @@ jobs:
100100
#echo "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
101101
102102
- name: Setup QEMU
103-
uses: docker/setup-qemu-action@v2
103+
uses: docker/setup-qemu-action@v3
104104
with:
105105
platforms: arm,arm64,ppc64le,mips64,s390x
106106

107107
- name: Setup Docker Buildx
108-
uses: docker/setup-buildx-action@v2
108+
uses: docker/setup-buildx-action@v3
109109

110110
- name: Login to DockerHub
111111
if: ${{ steps.prep.outputs.is_release == 'yes' }}
112-
uses: docker/login-action@v2
112+
uses: docker/login-action@v3
113113
with:
114114
username: ${{ secrets.DOCKERHUB_USERNAME }}
115115
password: ${{ secrets.DOCKERHUB_PASSWORD }}
116116

117117
- name: Build and push
118-
uses: docker/build-push-action@v4
118+
uses: docker/build-push-action@v5
119119
with:
120120
push: ${{ steps.prep.outputs.is_release == 'yes' }}
121121
provenance: false
@@ -132,12 +132,12 @@ jobs:
132132
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE_NAME }}:${{ steps.prep.outputs.version }}
133133
134134
- name: Checkout
135-
uses: actions/checkout@v3
135+
uses: actions/checkout@v4
136136
if: ${{ steps.prep.outputs.release_type == 'standard' }}
137137

138138
- name: Dockerhub description
139139
if: ${{ steps.prep.outputs.release_type == 'standard' }}
140-
uses: peter-evans/dockerhub-description@v3
140+
uses: peter-evans/dockerhub-description@v4
141141
with:
142142
username: ${{ secrets.DOCKERHUB_USERNAME }}
143143
password: ${{ secrets.DOCKERHUB_PASSWORD }}

DOCKERHUB.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Nginx or Letsencrypt.
2323

2424
## Quick Start
2525

26-
**NOTE**: The Docker command provided in this quick start is given as an example
27-
and parameters should be adjusted to your need.
26+
**NOTE**:
27+
The Docker command provided in this quick start is given as an example
28+
and parameters should be adjusted to your need.
2829

2930
Launch the Nginx Proxy Manager docker container with the following command:
3031
```shell
@@ -38,6 +39,7 @@ docker run -d \
3839
```
3940

4041
Where:
42+
4143
- `/docker/appdata/nginx-proxy-manager`: This is where the application stores its configuration, states, log and any files needing persistency.
4244

4345
Browse to `http://your-host-ip:8181` to access the Nginx Proxy Manager web interface.

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_VERSION=
99

1010
# Define software versions.
1111
ARG OPENRESTY_VERSION=1.19.9.1
12-
ARG NGINX_PROXY_MANAGER_VERSION=2.9.22
12+
ARG NGINX_PROXY_MANAGER_VERSION=2.11.3
1313
ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
1414
ARG LIBMAXMINDDB_VERSION=1.5.0
1515
ARG BCRYPT_TOOL_VERSION=1.1.2
@@ -24,7 +24,7 @@ ARG LIBMAXMINDDB_URL=https://github.com/maxmind/libmaxminddb/releases/download/$
2424
FROM --platform=$BUILDPLATFORM tonistiigi/xx AS xx
2525

2626
# Get Python cryptography wheel. It is needed for certbot.
27-
FROM moonbuggy2000/python-musl-wheels:cryptography38.0.1-py3.10-${TARGETARCH}${TARGETVARIANT} AS mod_cryptography
27+
FROM moonbuggy2000/python-musl-wheels:cryptography41.0.3-py3.10-${TARGETARCH}${TARGETVARIANT} AS mod_cryptography
2828

2929
# Build UPX.
3030
FROM --platform=$BUILDPLATFORM alpine:3.16 AS upx
@@ -71,15 +71,15 @@ COPY --from=mod_cryptography / /wheels
7171
RUN \
7272
apk --no-cache add build-base curl python3 && \
7373
curl -# -L "https://bootstrap.pypa.io/get-pip.py" | python3 && \
74-
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary certbot && \
74+
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary --only-binary=:all: certbot && \
7575
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.so" -exec strip {} ';' && \
7676
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.h" -delete && \
7777
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.c" -delete && \
7878
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.exe" -delete && \
7979
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type d -name tests -print0 | xargs -0 rm -r
8080

8181
# Pull base image.
82-
FROM jlesage/baseimage:alpine-3.16-v3.4.7
82+
FROM jlesage/baseimage:alpine-3.16-v3.6.2
8383

8484
ARG NGINX_PROXY_MANAGER_VERSION
8585
ARG DOCKER_IMAGE_VERSION

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Jocelyn Le Sage
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

0 commit comments

Comments
 (0)