Docker-PHP/Dockerfile.Marshall
Matthew Baggett 49c06822ee
Feature/rebuild for better caching (#3)
* Rebuilding for better caching

* Rebuilding for better caching. Squash this commit.

* Paths to dockerfiles changed.

* Rebuilding for better caching. Squash this commit.

* Rebuilding for better caching. Squash this commit.

* Refactoring

* Refactoring

* fixing the screaming about duplicates in apt sources.

* Vanity tagging

* Vanity tagging

* Try vanity again.

* re-enable all versions and variants
2021-05-29 22:54:10 +02:00

24 lines
547 B
Text

FROM ubuntu:bionic AS marshall
LABEL maintainer="Matthew Baggett <matthew@baggett.me>"
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'
CMD ["runsvdir", "-P", "/etc/service"]
WORKDIR /app
ENV PATH="/app:/app/bin:/app/vendor/bin:${PATH}"
COPY marshall/installers /installers
COPY marshall/etc /etc
COPY marshall/usr /usr
RUN /installers/install && \
rm -rf /marshall /installers