Skip to content

Commit 35d17d9

Browse files
Merge pull request #430 from zmap/dependabot/docker/docker-runner/ubuntu-24.04
Bump ubuntu from 16.04 to 24.04 in /docker-runner
2 parents 2893613 + 97d4b41 commit 35d17d9

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
integration-test:
3939
name: Integration Test
40-
runs-on: ubuntu-24.04
40+
runs-on: ubuntu-latest
4141
steps:
4242
- name: Check out source
4343
uses: actions/checkout@v4

docker-runner/service-base.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:24.04
22

33
# Base Ubuntu container with the apt cache already updated.
44
# Many containers will be able to use this as their base.

integration_tests/http/container/lighttpd.conf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ server.modules = (
33
"mod_alias",
44
"mod_compress",
55
"mod_redirect",
6+
"mod_openssl",
67
# "mod_rewrite",
78
)
89

@@ -16,14 +17,14 @@ index-file.names = ( "index.php", "index.html", "index.lighttpd.html"
1617
url.access-deny = ( "~", ".inc" )
1718
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
1819

19-
compress.cache-dir = "/var/cache/lighttpd/compress/"
20-
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
20+
deflate.cache-dir = "/var/cache/lighttpd/compress/"
21+
deflate.mimetypes = ( "application/javascript", "text/css", "text/html", "text/plain" )
2122

2223
# default listening port for IPv6 falls back to the IPv4 port
2324
## Use ipv6 if available
2425
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
25-
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
26-
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
26+
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
27+
include "/etc/lighttpd/conf-enabled/*.conf"
2728

2829
debug.log-request-handling = "enable"
2930

integration_tests/ipp/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function test_cups() {
2929
echo "ipp/test: Incorrect minor version. Expected 1, got $minor"
3030
exit 1
3131
fi
32-
if ! [ $cups = "CUPS/2.1" ]; then
33-
echo "ipp/test: Incorrect CUPS version. Expected CUPS/2.1, got $cups"
32+
if ! [ $cups = "CUPS/2.4" ]; then
33+
echo "ipp/test: Incorrect CUPS version. Expected CUPS/2.4, got $cups"
3434
exit 1
3535
fi
3636
}
@@ -56,8 +56,8 @@ function test_cups_tls() {
5656
echo "ipp/test: Incorrect minor version. Expected 1, got $minor"
5757
exit 1
5858
fi
59-
if ! [ $cups = "CUPS/2.1" ]; then
60-
echo "ipp/test: Incorrect CUPS version. Expected CUPS/2.1, got $cups"
59+
if ! [ $cups = "CUPS/2.4" ]; then
60+
echo "ipp/test: Incorrect CUPS version. Expected CUPS/2.4, got $cups"
6161
exit 1
6262
fi
6363
if [ "$tls" = "null" ]; then

integration_tests/telnet/container/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM zgrab2_service_base:latest
22

3-
RUN apt-get install -y telnetd
3+
RUN apt-get install -y inetutils-telnetd
4+
COPY inetd.conf /etc/inetd.conf
45

56
WORKDIR /
67
COPY entrypoint.sh .

integration_tests/telnet/container/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
set -x
44

55
while true; do
6-
if ! /usr/sbin/in.telnetd -debug 23; then
7-
echo "in.telnetd exited unexpectedly. Restarting..."
6+
if ! inetutils-inetd -d; then
7+
echo "telnetd exited unexpectedly. Restarting..."
88
sleep 1
99
fi
1010
done
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/telnetd

0 commit comments

Comments
 (0)