Skip to content

Commit

Permalink
Merge pull request #890 from keymanapp/sha-php-apache
Browse files Browse the repository at this point in the history
fix: Pin sha of php:7.4-apache 🦭
  • Loading branch information
darcywong00 authored Nov 29, 2023
2 parents ed65fe4 + 99f57b3 commit 5d15e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM php:7.4-apache AS composer-builder
FROM php:7.4-apache@sha256:c9d7e608f73832673479770d66aacc8100011ec751d1905ff63fae3fe2e0ca6d AS composer-builder

# Install Zip to use composer
RUN apt-get update && apt-get install -y \
Expand All @@ -18,7 +18,7 @@ COPY composer.* /composer/
RUN composer install

# Site
FROM php:7.4-apache
FROM php:7.4-apache@sha256:c9d7e608f73832673479770d66aacc8100011ec751d1905ff63fae3fe2e0ca6d
COPY resources/keyman-site.conf /etc/apache2/conf-available/
RUN cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
RUN chown -R www-data:www-data /var/www/html/
Expand Down

0 comments on commit 5d15e22

Please sign in to comment.