1
0
Fork 0
forked from fedi/mastodon

Fix fail health check due to missing wget (#10110)

This commit is contained in:
mohemohe 2019-02-25 12:06:24 +09:00 committed by Eugen Rochko
parent 3a44827d3f
commit 16fb39cffc

View file

@ -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