We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39af9de commit 1111967Copy full SHA for 1111967
Dockerfile
@@ -1,17 +1,15 @@
1
FROM php:8.1-cli-alpine AS builder
2
3
-RUN apk add python3 py3-pip curl
+RUN apk add python3 py3-pip py3-rich curl
4
5
RUN curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
6
7
RUN alias composer='php /usr/bin/composer'
8
9
-RUN pip install rich
10
-
11
COPY . /phpggc
12
13
WORKDIR /phpggc
14
15
-RUN chmod +x phpggc && echo "phar.readonly=0" > $PHP_INI_DIR/php.ini
+RUN sed -i '1s|.*|#!/usr/bin/env php|' phpggc && chmod +x phpggc && echo "phar.readonly=0" > $PHP_INI_DIR/php.ini
16
17
ENTRYPOINT ["/phpggc/phpggc"]
0 commit comments