mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
38 lines
646 B
Bash
38 lines
646 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
microdnf install dnf -y
|
||
|
|
||
|
dnf install 'dnf-command(config-manager)' -y
|
||
|
dnf config-manager --set-enabled ol8_codeready_builder
|
||
|
tee /etc/yum.repos.d/ol8-epel.repo<<EOF
|
||
|
[ol8_developer_EPEL]
|
||
|
name= Oracle Linux \$releasever EPEL (\$basearch)
|
||
|
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/developer/EPEL/\$basearch/
|
||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||
|
gpgcheck=1
|
||
|
enabled=1
|
||
|
EOF
|
||
|
dnf update -y
|
||
|
|
||
|
dnf install -y ImageMagick \
|
||
|
file \
|
||
|
sudo \
|
||
|
net-tools \
|
||
|
iputils \
|
||
|
curl \
|
||
|
git \
|
||
|
jq \
|
||
|
dos2unix \
|
||
|
mysql \
|
||
|
tzdata \
|
||
|
rsync \
|
||
|
nano \
|
||
|
unzip \
|
||
|
zstd \
|
||
|
lbzip2 \
|
||
|
knock
|
||
|
|
||
|
bash /build/ol/install-gosu.sh
|