mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
33 lines
579 B
Bash
Executable File
33 lines
579 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
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
|
|
|
|
# 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
|