generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (19 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# syntax=docker/dockerfile:1
FROM ghcr.io/ghostwriter/php:8.4
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."
LABEL "org.opencontainers.image.authors"="Nathanael Esayeas <[email protected]>, github.com/ghostwriter"
LABEL "org.opencontainers.image.source"="https://github.com/ghostwriter/compliance"
LABEL "org.opencontainers.image.url"="https://github.com/ghostwriter/compliance"
LABEL "org.opencontainers.image.licenses"="BSD-3-Clause"
WORKDIR /srv/workspace
COPY functions.php /srv/workspace/
COPY composer.* /srv/workspace/
COPY bin /srv/workspace/bin/
COPY src /srv/workspace/src/
# COPY tools /srv/workspace/tools/
RUN composer install --no-autoloader --no-cache --no-dev --no-interaction --verbose \
&& composer dump-autoload --classmap-authoritative --no-cache --no-dev --no-interaction --verbose
# VERBOSITY = DEBUG
ENV SHELL_VERBOSITY=3
ENTRYPOINT ["/srv/workspace/bin/compliance"]