Skip to content

Commit 52b6566

Browse files
renovate[bot]Zoey2936
authored andcommitted
dep updates
Update zoeyvid/nginx-quic Docker tag to v229 Update zoeyvid/certbot-docker Docker tag to v17 Update zoeyvid/nginx-quic Docker tag to v228 Update alpine Docker tag to v3.19.0 Update caddy Docker tag to v2.7.6 Update dependency knex to v3.1.0 Update zoeyvid/nginx-quic Docker tag to v225 Update dependency sass-loader to v10.5.0 Update zoeyvid/certbot-docker Docker tag to v15 Update zoeyvid/nginx-quic Docker tag to v230 Signed-off-by: Zoey <[email protected]>
1 parent 36506eb commit 52b6566

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

.github/workflows/caddy-fmt.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717
- name: Read version
1818
id: version
19-
run: echo "version=$(cat Caddy.Dockerfile | grep -wE "FROM caddy:*" | head -1 | sed "s|FROM caddy:||g")" >> $GITHUB_OUTPUT
19+
run: echo "version=$(cat Caddy.Dockerfile | grep -wE "FROM caddy:*" | head -1 | sed "s|FROM caddy:\([0-9.]\+\).*|\1|g")" >> $GITHUB_OUTPUT
2020
- name: caddy-fmt
2121
run: |
2222
docker run --rm -v ${{ github.workspace }}/Caddyfile:/etc/caddy/Caddyfile caddy:${{ steps.version.outputs.version }} caddy fmt --overwrite /etc/caddy/Caddyfile

Caddy.Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
FROM caddy:2.7.5
1+
FROM caddy:2.7.6 as caddy
2+
3+
FROM alpine:3.19.0
24
RUN apk add --no-cache ca-certificates tzdata
5+
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
36
COPY Caddyfile /etc/caddy/Caddyfile

Dockerfile

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform="$BUILDPLATFORM" alpine:3.18.5 as frontend
1+
FROM --platform="$BUILDPLATFORM" alpine:3.19.0 as frontend
22
COPY frontend /build/frontend
33
COPY global/certbot-dns-plugins.js /build/frontend/certbot-dns-plugins.js
44
ARG NODE_ENV=production \
@@ -12,7 +12,7 @@ COPY darkmode.css /build/frontend/dist/css/darkmode.css
1212
COPY security.txt /build/frontend/dist/.well-known/security.txt
1313

1414

15-
FROM --platform="$BUILDPLATFORM" alpine:3.18.5 as backend
15+
FROM --platform="$BUILDPLATFORM" alpine:3.19.0 as backend
1616
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
1717
COPY backend /build/backend
1818
COPY global/certbot-dns-plugins.js /build/backend/certbot-dns-plugins.js
@@ -30,10 +30,13 @@ RUN apk add --no-cache ca-certificates nodejs-current yarn && \
3030
yarn cache clean --all
3131

3232

33-
FROM --platform="$BUILDPLATFORM" alpine:3.18.5 as crowdsec
33+
FROM --platform="$BUILDPLATFORM" alpine:3.19.0 as crowdsec
34+
35+
ARG CSNB_VER=v1.0.5
36+
3437
WORKDIR /src
3538
RUN apk add --no-cache ca-certificates git build-base && \
36-
git clone --recursive https://github.com/crowdsecurity/cs-nginx-bouncer /src && \
39+
git clone --recursive https://github.com/crowdsecurity/cs-nginx-bouncer --branch "$CSNB_VER" /src && \
3740
make && \
3841
tar xzf crowdsec-nginx-bouncer.tgz && \
3942
mv crowdsec-nginx-bouncer-* crowdsec-nginx-bouncer && \
@@ -45,22 +48,21 @@ RUN apk add --no-cache ca-certificates git build-base && \
4548
sed -i "s|BAN_TEMPLATE_PATH=.*|BAN_TEMPLATE_PATH=/data/etc/crowdsec/ban.html|g" /src/crowdsec-nginx-bouncer/lua-mod/config_example.conf && \
4649
sed -i "s|CAPTCHA_TEMPLATE_PATH=.*|CAPTCHA_TEMPLATE_PATH=/data/etc/crowdsec/captcha.html|g" /src/crowdsec-nginx-bouncer/lua-mod/config_example.conf
4750

48-
FROM zoeyvid/certbot-docker:14 as certbot
51+
FROM zoeyvid/certbot-docker:17 as certbot
4952

50-
FROM zoeyvid/nginx-quic:219
53+
FROM zoeyvid/nginx-quic:230
5154
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
55+
56+
ARG CRS_VER=v4.0/dev
57+
5258
COPY rootfs /
5359
RUN apk add --no-cache ca-certificates tzdata tini \
5460
lua5.1-lzlib \
5561
nodejs-current \
5662
openssl apache2-utils \
5763
coreutils grep jq curl shadow sudo \
5864
luarocks5.1 wget lua5.1-dev build-base git yarn && \
59-
wget -q https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v3/master/modsecurity.conf-recommended -O /usr/local/nginx/conf/conf.d/include/modsecurity.conf.example && \
60-
wget -q https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v3/master/unicode.mapping -O /usr/local/nginx/conf/conf.d/include/unicode.mapping && \
61-
sed -i "s|SecRuleEngine.*|SecRuleEngine On|g" /usr/local/nginx/conf/conf.d/include/modsecurity.conf.example && \
62-
sed -i "s|unicode.mapping|/usr/local/nginx/conf/conf.d/include/unicode.mapping|g" /usr/local/nginx/conf/conf.d/include/modsecurity.conf.example && \
63-
git clone https://github.com/coreruleset/coreruleset /tmp/coreruleset && \
65+
git clone https://github.com/coreruleset/coreruleset --branch "$CRS_VER" /tmp/coreruleset && \
6466
mkdir -v /usr/local/nginx/conf/conf.d/include/coreruleset && \
6567
mv -v /tmp/coreruleset/crs-setup.conf.example /usr/local/nginx/conf/conf.d/include/coreruleset/crs-setup.conf.example && \
6668
mv -v /tmp/coreruleset/rules /usr/local/nginx/conf/conf.d/include/coreruleset/rules && \

backend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"express-fileupload": "1.4.3",
1616
"gravatar": "1.8.2",
1717
"jsonwebtoken": "9.0.2",
18-
"knex": "3.0.1",
18+
"knex": "3.1.0",
1919
"liquidjs": "10.9.4",
2020
"lodash": "4.17.21",
2121
"moment": "2.29.4",

frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"node-sass": "7.0.3",
3131
"nodemon": "3.0.2",
3232
"numeral": "2.0.6",
33-
"sass-loader": "10.4.1",
33+
"sass-loader": "10.5.0",
3434
"style-loader": "3.3.3",
3535
"tabler-ui": "git+https://github.com/tabler/tabler.git#00f78ad823311bc3ad974ac3e5b0126198f0a813",
3636
"underscore": "1.13.6",

0 commit comments

Comments
 (0)