Skip to content

Commit

Permalink
Update Dockerfile to use PHP 8.2 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwriter committed Jun 25, 2023
2 parents 031381e + add0628 commit 6412522
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/ghostwriter/php:8.1-composer
FROM ghcr.io/ghostwriter/php:8.2-composer

LABEL "org.opencontainers.image.title"="Compliance"
LABEL "org.opencontainers.image.description"="Compliance Automation for PHP - Automatically configure and execute multiple CI/CD & QA Tests via GitHub Actions."
Expand All @@ -10,10 +10,16 @@ LABEL "org.opencontainers.image.licenses"="BSD-3-Clause"

WORKDIR /app

COPY / /app
COPY composer.* /app/

RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --no-autoloader --no-interaction --verbose

COPY bin /app/bin/
COPY src /app/src/

RUN composer dump-autoload -a --no-dev

# VERBOSITY = DEBUG
ENV SHELL_VERBOSITY=3

ENTRYPOINT ["/app/bin/compliance"]

0 comments on commit 6412522

Please sign in to comment.