generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (19 loc) · 1.03 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.3-pcov
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 <nathanael.esayeas@protonmail.com>, 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 /workspace
COPY functions.php /workspace/
COPY composer.* /workspace/
COPY bin /workspace/bin/
COPY src /workspace/src/
# COPY tools /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 ["/workspace/bin/compliance"]