builds now

This commit is contained in:
2022-11-26 12:48:45 +01:00
parent daeadee5fd
commit a8f0acfc3e
3 changed files with 26 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
FROM phusion/baseimage:0.11
FROM phusion/baseimage:jammy-1.0.1
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
@@ -14,6 +14,7 @@ ENV \
RAILS_SERVE_STATIC_FILES=true \
RAILS_ENV=production \
NODE_ENV=production \
DEBIAN_FRONTEND=noninteractive \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mastodon/app/bin
ARG UID=991
@@ -22,7 +23,13 @@ ARG GID=991
# this repo master maps to upstream master, branches in this repo
# map to specific upstream commits that are released as versions
ARG REPO_URL=https://github.com/tootsuite/mastodon.git
ARG REPO_REV=master
# main branch as of 2022-11-26
ARG REPO_REV=95b24c51ece406ee50a67c9682fd5bd887d927e5
# specified in repo
ARG RUBY_VERSION=3.0.4
RUN apt update && apt install -y curl jq
# install os prereq stuff to image
ADD prereqs.sh /tmp/prereqs.sh
@@ -52,6 +59,3 @@ RUN chmod +x /etc/service/streaming/run
VOLUME /state
EXPOSE 3000 4000
LABEL maintainer="Jeffrey Paul <sneak@sneak.berlin>" \
description="Your self-hosted, globally interconnected microblogging community"