* Initial work * Setup script stub * Wrap runit and call dos2unix beforehand. * Working to the point I need to make it sync in and out of s3. * Seems like we're done and its working. * Add build process. * Add build process. * Bugfixes discovered during deployment. * Copy certs into /live because certbot is a pain. * More elegant about hammering letsencrypt. * Working!
26 lines
610 B
Docker
26 lines
610 B
Docker
FROM ubuntu:bionic
|
|
|
|
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
|
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
|
|
|
ENV DEBIAN_FRONTEND="teletype" \
|
|
TERM=xterm-256color \
|
|
COMPOSER_ALLOW_SUPERUSER=1 \
|
|
COLOUR_FAIL='\e[31m' \
|
|
COLOUR_SUCCESS='\e[32m' \
|
|
COLOUR_NONE='\e[39m' \
|
|
DEFAULT_TZ='Europe/London'
|
|
|
|
|
|
WORKDIR /app
|
|
ENV PATH="/app:/app/bin:/app/vendor/bin:${PATH}"
|
|
|
|
COPY installers /installers
|
|
COPY etc /etc
|
|
COPY usr /usr
|
|
|
|
CMD ["/usr/bin/marshall"]
|
|
|
|
RUN /installers/install && \
|
|
rm -rf /marshall /installers && \
|
|
chmod +x /usr/bin/marshall
|