|
|
@ -78,7 +78,7 @@ RUN apt update && \ |
|
|
|
echo "Etc/UTC" > /etc/localtime && \ |
|
|
|
echo "Etc/UTC" > /etc/localtime && \ |
|
|
|
ln -s /opt/jemalloc/lib/* /usr/lib/ && \ |
|
|
|
ln -s /opt/jemalloc/lib/* /usr/lib/ && \ |
|
|
|
apt -y dist-upgrade && \ |
|
|
|
apt -y dist-upgrade && \ |
|
|
|
apt install -y whois && \ |
|
|
|
apt install -y whois wget && \ |
|
|
|
addgroup --gid $GID mastodon && \ |
|
|
|
addgroup --gid $GID mastodon && \ |
|
|
|
useradd -m -u $UID -g $GID -d /opt/mastodon mastodon && \ |
|
|
|
useradd -m -u $UID -g $GID -d /opt/mastodon mastodon && \ |
|
|
|
echo "mastodon:`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 | mkpasswd -s -m sha-256`" | chpasswd |
|
|
|
echo "mastodon:`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 | mkpasswd -s -m sha-256`" | chpasswd |
|
|
|