From f9e7cf35bad84e6a26b92c596ce05d91cae48610 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 24 Aug 2022 14:52:30 +0100 Subject: [PATCH] chore(docker): use my custom base image --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 735cac6..67944c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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,9 +6,12 @@ ENV PATH="${PATH}:/app/vendor/bin" WORKDIR /app -RUN apk add --no-cache bash \ - && adduser --disabled-password app \ - && chown app:app -R /app +RUN apt-get update -yqq \ + && apt-get install -yqq \ + git \ + unzip \ + && adduser --disabled-password app \ + && chown app:app -R /app USER app @@ -22,4 +25,4 @@ RUN composer install COPY --chown=app:app . . -ENTRYPOINT ["sh"] +ENTRYPOINT ["bash"]