mastodon-glitch (latest)

Published 2023-04-06 22:25:18 +01:00 by Nikurasu in Nikurasu/hometown-mastodon

Installation

docker pull dev.cat-enby.club/nikurasu/mastodon-glitch:latest
sha256:4a97a596b480b236401f5c8e548ad490532ec1d773f5385f9542b007efacad04

About this package

baseimage-alpine-nginx image by linuxserver.io

Image Layers

COPY /root-out/ / # buildkit
ARG BUILD_DATE
ARG VERSION
LABEL build_version=Linuxserver.io version:- 11f50c8d-ls42 Build-date:- 2023-04-04T08:31:46+02:00
LABEL maintainer=TheLamer
ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
RUN |2 BUILD_DATE=2023-04-04T08:31:46+02:00 VERSION=11f50c8d-ls42 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache bash ca-certificates coreutils curl procps shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit
COPY root/ / # buildkit
ENTRYPOINT ["/init"]
RUN /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php8 php8-fileinfo php8-fpm php8-json php8-mbstring php8-openssl php8-session php8-simplexml php8-xml php8-xmlwriter php8-zlib && echo "**** configure nginx ****" && echo 'fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param PATH_INFO $fastcgi_path_info; # http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/#connecting-nginx-to-php-fpm' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SERVER_NAME $host; # Send HTTP_HOST as SERVER_NAME. If HTTP_HOST is blank, send the value of server_name from nginx (default is `_`)' >> /etc/nginx/fastcgi_params && rm -f /etc/nginx/http.d/default.conf && echo "**** configure php ****" && ln -s /usr/bin/php8 /usr/bin/php && sed -i "s#;error_log = log/php8/error.log.*#error_log = /config/log/php/error.log#g" /etc/php8/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php8/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php8/php-fpm.d/www.conf && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate # buildkit
COPY root/ / # buildkit
EXPOSE map[443/tcp:{} 80/tcp:{}]
ARG BUILD_DATE
ARG VERSION
ARG MASTODON_VERSION
LABEL build_version=dev.cat-enby.club version:- Build-date:-
LABEL maintainer=Nikurasu
ENV RAILS_ENV=production NODE_ENV=production PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/www/bin
RUN |3 BUILD_DATE= VERSION= MASTODON_VERSION= /bin/sh -c apk add -U --upgrade --no-cache ffmpeg file icu-libs imagemagick libpq libidn nodejs ruby ruby-bundler yarn && apk add --no-cache --virtual=build-dependencies build-base g++ gcc icu-dev libidn-dev libpq-dev libxml2-dev libxslt-dev openssl-dev npm ruby-dev && echo "**** install mastodon ****" && mkdir -p /app/www && curl -s -o /tmp/mastodon.tar.gz -L "https://codeberg.org/nikurasu/mastodon/archive/main.tar.gz" && tar xf /tmp/mastodon.tar.gz -C /app/www/ --strip-components=1 && cd /app/www && bundle config set --local deployment 'true' && bundle config set --local without 'development test' && bundle config set silence_root_warning true && bundle install -j"$(nproc)" && yarn install --pure-lockfile && OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && echo "**** cleanup ****" && apk del --purge build-dependencies && yarn cache clean && rm -rf /tmp/* # buildkit
COPY root/ / # buildkit
EXPOSE map[443/tcp:{} 80/tcp:{}]
VOLUME [/config]

Labels

Key Value
build_version dev.cat-enby.club version:- Build-date:-
maintainer Nikurasu
org.opencontainers.image.authors linuxserver.io
org.opencontainers.image.created 2023-04-06T06:02:31+00:00
org.opencontainers.image.description baseimage-alpine-nginx image by linuxserver.io
org.opencontainers.image.documentation https://docs.linuxserver.io/images/docker-baseimage-alpine-nginx
org.opencontainers.image.licenses GPL-3.0-only
org.opencontainers.image.ref.name 03a68194844a5b0e69a2728ea927fef89fa527ba
org.opencontainers.image.revision 03a68194844a5b0e69a2728ea927fef89fa527ba
org.opencontainers.image.source https://github.com/linuxserver/docker-baseimage-alpine-nginx
org.opencontainers.image.title Baseimage-alpine-nginx
org.opencontainers.image.url https://github.com/linuxserver/docker-baseimage-alpine-nginx/packages
org.opencontainers.image.vendor linuxserver.io
org.opencontainers.image.version c952826f-ls42
Details
Container
2023-04-06 22:25:18 +01:00
0
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
371 MiB
Versions (2) View all
2023-04-06 2023-04-06
latest 2023-04-06