chore(docker): use my custom base image

This commit is contained in:
Oliver Davies 2022-08-24 14:52:30 +01:00
parent 282348b30b
commit f9e7cf35ba

View file

@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine
FROM ghcr.io/oliverdaviesltd/php:7.4-cli
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
@ -6,7 +6,10 @@ ENV PATH="${PATH}:/app/vendor/bin"
WORKDIR /app
RUN apk add --no-cache bash \
RUN apt-get update -yqq \
&& apt-get install -yqq \
git \
unzip \
&& adduser --disabled-password app \
&& chown app:app -R /app
@ -22,4 +25,4 @@ RUN composer install
COPY --chown=app:app . .
ENTRYPOINT ["sh"]
ENTRYPOINT ["bash"]