should buildshould build

This commit is contained in:
2019-12-07 21:46:17 -08:00
parent 21ee1776b5
commit bf6a0dc199
8 changed files with 34 additions and 19 deletions

View File

@@ -3,10 +3,14 @@ FROM phusion/baseimage:0.11
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
ADD setup.sh /tmp/setup.sh
# install os prereq stuff to image
ADD prereqs.sh /tmp/prereqs.sh
RUN bash /tmp/prereqs.sh
# install stuff to image
RUN bash /tmp/setup.sh
# install mastodon:
ADD install.sh /tmp/install.sh
RUN chpst -u mastodon:mastodon bash /tmp/install.sh
ADD ./rootfs /