2021-10-03 11:14:39 +00:00
|
|
|
FROM ubuntu:focal
|
2021-05-29 20:54:10 +00:00
|
|
|
|
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"
|
2021-05-29 20:54:10 +00:00
|
|
|
|
|
|
|
|
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}"
|
|
|
|
|
|
2021-05-30 11:04:18 +00:00
|
|
|
COPY installers /installers
|
|
|
|
|
COPY etc /etc
|
|
|
|
|
COPY usr /usr
|
2021-05-29 20:54:10 +00:00
|
|
|
|
2021-06-06 15:38:46 +00:00
|
|
|
CMD ["/usr/bin/marshall"]
|
|
|
|
|
|
2021-05-29 20:54:10 +00:00
|
|
|
RUN /installers/install && \
|
2021-06-06 15:38:46 +00:00
|
|
|
rm -rf /marshall /installers && \
|
|
|
|
|
chmod +x /usr/bin/marshall
|