mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Docker: Remove dist-upgrade (#10822)
This commit is contained in:
parent
63483ee543
commit
1e6a1ea075
@ -7,7 +7,6 @@ SHELL ["bash", "-c"]
|
|||||||
ENV NODE_VER="8.15.0"
|
ENV NODE_VER="8.15.0"
|
||||||
RUN echo "Etc/UTC" > /etc/localtime && \
|
RUN echo "Etc/UTC" > /etc/localtime && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt -y dist-upgrade && \
|
|
||||||
apt -y install wget make gcc g++ python && \
|
apt -y install wget make gcc g++ python && \
|
||||||
cd ~ && \
|
cd ~ && \
|
||||||
wget https://nodejs.org/download/release/v$NODE_VER/node-v$NODE_VER.tar.gz && \
|
wget https://nodejs.org/download/release/v$NODE_VER/node-v$NODE_VER.tar.gz && \
|
||||||
@ -80,7 +79,6 @@ ARG GID=991
|
|||||||
RUN apt update && \
|
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 install -y whois wget && \
|
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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user