Docker-Runit/marshall/Dockerfile

28 lines
695 B
Text
Raw Normal View History

FROM ubuntu:focal
2021-05-30 14:00:16 +00:00
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
2021-06-06 22:08:12 +00:00
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
org.opencontainers.image.source="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