mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
35 lines
615 B
Bash
Executable File
35 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
|