mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
34 lines
615 B
Bash
Executable file
34 lines
615 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
apk add --no-cache -U \
|
|
openssl \
|
|
imagemagick \
|
|
file \
|
|
lsof \
|
|
su-exec \
|
|
coreutils \
|
|
findutils \
|
|
procps \
|
|
shadow \
|
|
bash \
|
|
curl iputils \
|
|
git \
|
|
jq \
|
|
mysql-client \
|
|
tzdata \
|
|
rsync \
|
|
nano \
|
|
sudo \
|
|
tar \
|
|
zstd \
|
|
nfs-utils \
|
|
libpcap \
|
|
libwebp
|
|
|
|
# Patched knockd
|
|
curl -fsSL -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
|