Docker-PHP/marshall/Dockerfile
Matthew Baggett f7873fe671
Feature/merging all my junk together (#4)
* Merging all my junk together.

* Add more junk from other repos.

* Fix missing hadolint.

* Fixed names

* Somehow, I missed out a lot of components

* More jiggery pokery

* More jiggery pokery

* Ignore some hadolint warnings

* Maybe fix build?

* Split back up php Dockerfile.

* dockerfile->file

* Flavours environment issues

* Fix flavours?

* remove onbuilds.

* Might be these quotes tripping it up.

* Try without caching/buildx/qemu

* OK it needs caching/buildx/qemu lol

* remove build cache.

* Put build caching back

* Add octoprint bits

* Add pulls.

* Fix build order + linter.

* rejig multistage builder to make hadolint happy(ier)
2021-05-30 13:04:18 +02:00

23 lines
507 B
Docker

FROM ubuntu:bionic
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 installers /installers
COPY etc /etc
COPY usr /usr
RUN /installers/install && \
rm -rf /marshall /installers