mastodon (latest)

Published 2022-11-30 22:43:53 +00:00 by vv in Solarpunk/mastodon

Installation

docker pull git.solarpunk.moe/solarpunk/mastodon:latest
sha256:eee74821c61dd80c49c02ed46e367b3a552e1255228d339b949d133a2bf69302

Image Layers

ADD file:7633003155a1059419aa1a6756fafb6e4f419d65bff7feb7c945de1e29dccb1e in /
CMD ["bash"]
COPY dir:f8fbbaf5195b9b42da797a90900cfdaf8e644f9ef1a46fe028b87684bb6fec2b in /opt/node
COPY dir:499f16d69540b2462a0be0c56a24de661561c7cb0fcb2ea327160f73f18dcc78 in /opt/ruby
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/ruby/bin:/opt/node/bin:/opt/mastodon/bin
ARG UID=991
ARG GID=991
SHELL [/bin/bash -o pipefail -c]
|2 GID=991 UID=991 /bin/bash -o pipefail -c apt-get update && echo "Etc/UTC" > /etc/localtime && apt-get install -y --no-install-recommends whois wget && addgroup --gid $GID 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 && rm -rf /var/lib/apt/lists/*
|2 GID=991 UID=991 /bin/bash -o pipefail -c echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|2 GID=991 UID=991 /bin/bash -o pipefail -c apt-get update && apt-get -y --no-install-recommends install libssl1.1 libpq5 imagemagick ffmpeg libjemalloc2 libicu66 libidn11 libyaml-0-2 file ca-certificates tzdata libreadline8 gcc tini apt-utils && ln -s /opt/mastodon /mastodon && gem install bundler && rm -rf /var/cache && rm -rf /var/lib/apt/lists/*
COPY --chown=mastodon:mastodondir:dfff8d76a01bd75565ebd10a4ee91ad33cda0cf96a7662d9994fb5c8cc64dde9 in /opt/mastodon
COPY --chown=mastodon:mastodondir:2a83a449a4238432052334149d7d9a302c50881bb6e1ba7cc87c22eec2003c8a in /opt/mastodon
ENV RAILS_ENV=production
ENV NODE_ENV=production
ENV RAILS_SERVE_STATIC_FILES=true
ENV BIND=0.0.0.0
USER mastodon
|2 GID=991 UID=991 /bin/bash -o pipefail -c cd ~ && OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && yarn cache clean
WORKDIR /opt/mastodon
ENTRYPOINT ["/usr/bin/tini" "--"]
EXPOSE 3000 4000
Details
Container
2022-11-30 22:43:53 +00:00
10
OCI / Docker
linux/amd64
630 MiB
Versions (8) View all
v4.3.0-glitch.5 2024-07-04
v4.3.0-glitch.3 2024-02-25
v4.3.0-glitch 2024-02-24
v4.3.0 2024-02-24
v4.2.5 2024-02-14