From fcaf990b091faf1c23992e1e29e778616ad6d51f Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 29 Aug 2025 13:24:23 +0200 Subject: [PATCH 1/4] add large number file --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d1e92e..626b32d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN \ chown -R nobody:nobody /var/cache/nginx /var/log/nginx && \ sed -i 's/listen\s\+80;/listen 8080;/' /etc/nginx/conf.d/default.conf && \ sed -i 's/index index.html index.htm;/index mdwiki.html;/' /etc/nginx/conf.d/default.conf && \ - sed -i 's,pid\s\+/run/nginx.pid;,pid /tmp/nginx.pid;,' /etc/nginx/nginx.conf + sed -i 's,pid\s\+/run/nginx.pid;,pid /tmp/nginx.pid;,' /etc/nginx/nginx.conf && \ + dd if=/dev/random of=/usr/share/nginx/html/numbers bs=1024 count=1000000 USER nobody # ------------ EXPOSE 8080 From d8ddc0528c8ea6c02bda183c8a28e08bce3c32d8 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 29 Aug 2025 13:26:59 +0200 Subject: [PATCH 2/4] add large number file, 2 --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 619b81c..7805856 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,7 +5,7 @@ steps: repo: ${FORGE_NAME}/${CI_REPO} registry: from_secret: container_registry - tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG} + tags: latest,${CI_COMMIT_SHA} username: from_secret: container_registry_username password: @@ -30,7 +30,7 @@ steps: commands: - export GOPATH=/woodpecker/go # the export is required, otherwise trivy will not consider the variable - HOME=/home/`id -nu` - - TAG="${CI_COMMIT_TAG:-$CI_COMMIT_SHA}" + - TAG=${$CI_COMMIT_SHA} - | trivy image \ --server $TRIVY_URL \ From 5bd8d051031e193f479bc05a000986a2d0f4c8b9 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 29 Aug 2025 13:28:07 +0200 Subject: [PATCH 3/4] add large number file, 3 --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7805856..48af74a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -30,7 +30,7 @@ steps: commands: - export GOPATH=/woodpecker/go # the export is required, otherwise trivy will not consider the variable - HOME=/home/`id -nu` - - TAG=${$CI_COMMIT_SHA} + - TAG=${CI_COMMIT_SHA} - | trivy image \ --server $TRIVY_URL \ From 7a932996ba0fb3dae1dc46e101390632c1d486ab Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 14 Sep 2025 18:46:29 +0200 Subject: [PATCH 4/4] alpine 3.22 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d1e92e..b127048 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:alpine3.21 +FROM nginx:alpine3.22 COPY ./content /usr/share/nginx/html RUN cd /usr/share/nginx/html && ./snippet-indexer.sh