Fix autopause not working in java8 (#2025)

This commit is contained in:
Metalcape
2023-03-21 13:37:55 -05:00
committed by GitHub
parent 7f3c3b2d64
commit e7084c233e
4 changed files with 27 additions and 12 deletions
+5
View File
@@ -25,3 +25,8 @@ apk add --no-cache -U \
zstd \
nfs-utils \
libpcap
# Patched knockd
curl -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-alpine-amd64.tar.gz
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
+7
View File
@@ -1,5 +1,7 @@
#!/bin/bash
export TARGET
set -e
microdnf install dnf -y
@@ -36,3 +38,8 @@ dnf install -y ImageMagick \
libpcap
bash /build/ol/install-gosu.sh
# Patched knockd
curl -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
+8
View File
@@ -1,5 +1,7 @@
#!/bin/sh
export TARGET
set -e
apt-get update
@@ -27,3 +29,9 @@ apt-get install -y \
libpcap0.8
apt-get clean
# Patched knockd
curl -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
find /usr/lib -name 'libpcap.so.0.8' -execdir cp '{}' libpcap.so.1 \;