Skip to content
Merged
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
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.21 AS buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:3.24 AS buildstage

ARG MOD_VERSION

Expand All @@ -20,7 +20,15 @@ RUN \
if ! tar -tzf /root-layer/crowdsec-nginx-bouncer.tgz >/dev/null 2>&1; then \
echo "**** Invalid tarball, could not download crowdsec bouncer ****"; \
exit 1; \
fi
fi && \
apk add --no-cache build-base && \
curl -sLo \
/tmp/resty.tar.gz -L \
"https://github.com/openresty/lua-resty-string/archive/refs/tags/v0.15.tar.gz" && \
cd /tmp && \
tar -xzf ./resty.tar.gz && \
cd lua-resty-string-0.15 && \
make DESTDIR=/root-layer LUA_LIB_DIR="/usr/share/lua/common" install

COPY root/ /root-layer/

Expand Down
1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ echo "\
lua5.1 \
lua5.1-cjson \
lua-resty-http \
lua-resty-string \
lua-sec \
nginx-mod-http-lua" >> /mod-repo-packages-to-install.list

Expand Down
Loading