queer.party (v4.0.2)

Published 2023-03-01 16:13:03 +00:00 by maff in maff/queer.party

Installation

docker pull commit.pup.cloud/maff/queer.party:v4.0.2
sha256:fee5a5e92747b3b8ea1a0d76f9cc847733aa1aa60a96cec5a1607e9b7b92db88

Image Layers

ADD file:7633003155a1059419aa1a6756fafb6e4f419d65bff7feb7c945de1e29dccb1e in /
CMD ["bash"]
COPY /opt/node /opt/node # buildkit
COPY /opt/ruby /opt/ruby # buildkit
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]
RUN |2 UID=991 GID=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/* # buildkit
RUN |2 UID=991 GID=991 /bin/bash -o pipefail -c echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # buildkit
RUN |2 UID=991 GID=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/* # buildkit
COPY . /opt/mastodon # buildkit
COPY /opt/mastodon /opt/mastodon # buildkit
ENV RAILS_ENV=production
ENV NODE_ENV=production
ENV RAILS_SERVE_STATIC_FILES=true
ENV BIND=0.0.0.0
USER mastodon
RUN |2 UID=991 GID=991 /bin/bash -o pipefail -c cd ~ && OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && yarn cache clean # buildkit
WORKDIR /opt/mastodon
ENTRYPOINT ["/usr/bin/tini" "--"]
EXPOSE map[3000/tcp:{} 4000/tcp:{}]
ENV QP_MASTODON_VERSION=
USER root
/bin/bash -o pipefail -c test -x /usr/bin/patch || sh -c 'mkdir -p /var/lib/apt/lists/partial && mkdir -p /var/cache/apt/archives/partial && apt-get update && apt-get install -y git patch'
/bin/bash -o pipefail -c mkdir /patches && mkdir /ldr && mkdir /configs && mkdir /secrets
USER mastodon
COPY dir:12004a326028fec20eda340838d50d68081a378402b2d7bdd74d9c267638f076 in /mastodon/app/javascript/images/
COPY dir:217f71f0622df346d610b9d97a2f27f2dfc9873a8bcc733bd218d3d55301e8f1 in /mastodon/app/javascript/fonts/
COPY multi:6e1a9d07967070008be8ee4027a319118d8af3211bd151fac25d8672881f54ba in /patches/
/bin/bash -o pipefail -c cd /mastodon && sh -c 'for patch in `ls -ad /patches/*`;do echo "Applying patch $patch";/usr/bin/patch -p1 < $patch;done'
/bin/bash -o pipefail -c OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder bundle install
/bin/bash -o pipefail -c OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder bundle exec rails assets:precompile && bundle exec yarn cache clean
USER root
/bin/bash -o pipefail -c apt-get remove -y patch git && apt-get autoremove -y && apt-get clean -y && rm -rf /var/cache/apt/archives /var/lib/apt/lists /patches
COPY multi:452e06e104aebafedd7c3010155702b8936f4514e427e8f6ca2dbf3cbd634458 in /ldr/
USER mastodon
CMD ["/ldr/loader"]
Details
Container
2023-03-01 16:13:03 +00:00
0
OCI / Docker
linux/amd64
670 MiB
Versions (16) View all
latest 2024-04-01
v4.2.8 2024-04-01
v4.2.7 2024-02-23
v4.2.6 2024-02-23
v4.2.5 2024-02-23