-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- make Lua version an ARG - update httpd to 2.4.58 - update nginx to 1.25.3
- Loading branch information
Showing
6 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
ARG APACHE_VERSION=2.4.57 | ||
ARG APACHE_VERSION=2.4.58 | ||
|
||
FROM httpd:${APACHE_VERSION} as build | ||
|
||
ARG MODSEC_VERSION=2.9.7 | ||
ARG MODSEC_VERSION=2.9.7 \ | ||
LUA_VERSION=5.3 | ||
|
||
RUN set -eux; \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections; \ | ||
|
@@ -20,7 +21,7 @@ RUN set -eux; \ | |
libtool \ | ||
libxml2-dev \ | ||
libyajl-dev \ | ||
lua5.3-dev \ | ||
lua${LUA_VERSION}-dev \ | ||
make \ | ||
pkgconf \ | ||
wget | ||
|
@@ -57,7 +58,8 @@ RUN set -eux; \ | |
|
||
FROM httpd:${APACHE_VERSION} | ||
|
||
ARG MODSEC_VERSION=2.9.7 | ||
ARG MODSEC_VERSION=2.9.7 \ | ||
LUA_VERSION=5.3 | ||
|
||
LABEL maintainer="Felipe Zipitria <[email protected]>" | ||
|
||
|
@@ -161,7 +163,7 @@ RUN set -eux; \ | |
iproute2 \ | ||
libcurl3-gnutls \ | ||
libfuzzy2 \ | ||
liblua5.3 \ | ||
liblua${LUA_VERSION} \ | ||
libxml2 \ | ||
libyajl2; \ | ||
update-ca-certificates -f; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
ARG APACHE_VERSION=2.4.57 | ||
ARG APACHE_VERSION=2.4.58 | ||
|
||
FROM httpd:${APACHE_VERSION}-alpine as build | ||
|
||
ARG MODSEC_VERSION=2.9.7 | ||
ARG MODSEC_VERSION=2.9.7 \ | ||
LUA_VERSION=5.3 | ||
|
||
# see https://httpd.apache.org/docs/2.4/install.html#requirements | ||
RUN set -eux; \ | ||
|
@@ -27,7 +28,7 @@ RUN set -eux; \ | |
libtool \ | ||
lmdb-dev \ | ||
libxml2-dev \ | ||
lua5.3-dev \ | ||
lua${LUA_VERSION}-dev \ | ||
yajl-dev \ | ||
make \ | ||
openssl \ | ||
|
@@ -67,7 +68,8 @@ RUN set -eux; \ | |
|
||
FROM httpd:${APACHE_VERSION}-alpine | ||
|
||
ARG MODSEC_VERSION=2.9.7 | ||
ARG MODSEC_VERSION=2.9.7 \ | ||
LUA_VERSION=5.3 | ||
|
||
LABEL maintainer="Felipe Zipitria <[email protected]>" | ||
|
||
|
@@ -169,7 +171,7 @@ RUN set -eux; \ | |
iproute2 \ | ||
libfuzzy2 \ | ||
libxml2 \ | ||
lua5.3 \ | ||
lua${LUA_VERSION} \ | ||
moreutils \ | ||
openssl \ | ||
sed \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
ARG NGINX_VERSION="1.24.0" | ||
ARG NGINX_VERSION="1.25.3" | ||
|
||
FROM nginx:${NGINX_VERSION} as build | ||
|
||
ARG MODSEC_VERSION=3.0.11 \ | ||
LMDB_VERSION=0.9.29 | ||
LMDB_VERSION=0.9.29 \ | ||
LUA_VERSION=5.3 | ||
|
||
# Note: libpcre3-dev (PCRE 1) is required by the build description, | ||
# even though the build will use PCRE2. | ||
|
@@ -19,7 +20,7 @@ RUN set -eux; \ | |
libcurl4-gnutls-dev \ | ||
libfuzzy-dev \ | ||
libgeoip-dev \ | ||
liblua5.3-dev \ | ||
liblua${LUA_VERSION}-dev \ | ||
libpcre3-dev \ | ||
libpcre2-dev \ | ||
libtool \ | ||
|
@@ -96,7 +97,8 @@ RUN set -eux; \ | |
FROM nginx:${NGINX_VERSION} | ||
|
||
ARG MODSEC_VERSION=3.0.11 \ | ||
LMDB_VERSION=0.9.29 | ||
LMDB_VERSION=0.9.29 \ | ||
LUA_VERSION=5.3 | ||
|
||
LABEL maintainer="Felipe Zipitria <[email protected]>" | ||
|
||
|
@@ -190,7 +192,7 @@ RUN set -eux; \ | |
curl \ | ||
libcurl4-gnutls-dev \ | ||
libfuzzy2 \ | ||
liblua5.3 \ | ||
liblua${LUA_VERSION} \ | ||
libxml2 \ | ||
libyajl2 \ | ||
moreutils; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
ARG NGINX_VERSION="1.24.0" | ||
ARG NGINX_VERSION="1.25.3" | ||
|
||
FROM nginx:${NGINX_VERSION}-alpine as build | ||
|
||
ARG MODSEC_VERSION=3.0.11 | ||
ARG MODSEC_VERSION=3.0.11 \ | ||
LUA_VERSION=5.3 | ||
|
||
# Note: pcre-dev (PCRE 1) is required by the build description, | ||
# even though the build will use PCRE2. | ||
|
@@ -25,7 +26,7 @@ RUN set -eux; \ | |
libxml2-dev \ | ||
linux-headers \ | ||
lmdb-dev \ | ||
lua5.3-dev \ | ||
lua${LUA_VERSION}-dev \ | ||
make \ | ||
openssl \ | ||
openssl-dev \ | ||
|
@@ -91,7 +92,8 @@ RUN set -eux; \ | |
|
||
FROM nginx:${NGINX_VERSION}-alpine | ||
|
||
ARG MODSEC_VERSION=3.0.11 | ||
ARG MODSEC_VERSION=3.0.11 \ | ||
LUA_VERSION=5.3 | ||
|
||
LABEL maintainer="Felipe Zipitria <[email protected]>" | ||
|
||
|
@@ -186,7 +188,7 @@ RUN set -eux; \ | |
libstdc++ \ | ||
libxml2-dev \ | ||
lmdb-dev \ | ||
lua5.3 \ | ||
lua${LUA_VERSION} \ | ||
moreutils \ | ||
openssl \ | ||
tzdata \ | ||
|