Skip to content

Commit

Permalink
updated: README.md, actions version and zlib library
Browse files Browse the repository at this point in the history
  • Loading branch information
ammnt committed Apr 13, 2024
1 parent d4532ef commit f23f57c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3.4.0
uses: sigstore/cosign-installer@v3.5.0

- name: Setup Docker buildx
uses: docker/[email protected]
Expand Down Expand Up @@ -74,6 +74,9 @@ jobs:
target: ghcr.io/ammnt/freenginx:http3
tag: ghcr.io/ammnt/freenginx:http3
overwrite: true
- run: echo "${REPORT}"
env:
REPORT: ${{ steps.slim.outputs.report }}

- name: Test the Docker image
run: |
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
&& apk -U upgrade && apk add --no-cache \
openssl \
pcre \
zlib \
zlib-ng \
libgcc \
libstdc++ \
g++ \
Expand All @@ -18,7 +18,7 @@ RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
talloc-dev \
libtool \
pcre-dev \
zlib-dev \
zlib-ng-dev \
binutils \
gnupg \
cmake \
Expand Down Expand Up @@ -98,18 +98,18 @@ RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
&& make -j "${NB_CORES}" && make install && make clean && strip /usr/sbin/freenginx* \
&& chown -R freenginx:freenginx /var/cache/freenginx && chmod -R g+w /var/cache/freenginx \
&& chown -R freenginx:freenginx /etc/nginx && chmod -R g+w /etc/freenginx \
&& update-ca-certificates && apk --purge del libgcc libstdc++ g++ make build-base linux-headers automake autoconf git talloc talloc-dev libtool zlib-dev binutils gnupg cmake mercurial go pcre-dev ca-certificates openssl libxslt-dev apk-tools \
&& update-ca-certificates && apk --purge del libgcc libstdc++ g++ make build-base linux-headers automake autoconf git talloc talloc-dev libtool zlib-ng-dev binutils gnupg cmake mercurial go pcre-dev ca-certificates openssl libxslt-dev apk-tools \
&& rm -rf /tmp/* /var/cache/apk/ /var/cache/misc /root/.gnupg /root/.cache /root/go /etc/apk \
&& ln -sf /dev/stdout /tmp/access.log && ln -sf /dev/stderr /tmp/error.log

ENTRYPOINT [ "/sbin/tini", "--" ]

EXPOSE 8080/tcp 8443/tcp 8443/udp
LABEL description="FreeNGINX built with QUIC and HTTP/3 support🚀" \
LABEL description="Distroless FreeNGINX built with QUIC and HTTP/3 support🚀" \
maintainer="ammnt <[email protected]>" \
org.opencontainers.image.description="FreeNGINX built with QUIC and HTTP/3 support🚀" \
org.opencontainers.image.description="Distroless FreeNGINX built with QUIC and HTTP/3 support🚀" \
org.opencontainers.image.authors="ammnt, [email protected]" \
org.opencontainers.image.title="FreeNGINX built with QUIC and HTTP/3 support🚀" \
org.opencontainers.image.title="Distroless FreeNGINX built with QUIC and HTTP/3 support🚀" \
org.opencontainers.image.source="https://github.com/ammnt/freenginx/"

STOPSIGNAL SIGQUIT
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# FreeNGINX with HTTP/3 and QUIC support🚀
# Distroless FreeNGINX with HTTP/3 and QUIC support🚀

The Docker image is ready to use:<br>
<code>docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:http3</code><br>
Expand All @@ -15,7 +15,7 @@ or<br>
- Built using hardening GCC flags;
- NJS support;
- PCRE with JIT compilation;
- zlib library latest version;
- zlib-ng library latest version;
- Rootless master process - unprivileged container;
- Async I/O threads module;
- "Distroless" image - shell removed from the image;
Expand Down

0 comments on commit f23f57c

Please sign in to comment.