-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM --platform=linux/amd64 php:8.3-cli-alpine AS build-stage | ||
Check warning on line 1 in .docker/php83.dockerfile GitHub Actions / Publish the Docker image PHP 8.3FROM --platform flag should not use a constant value
|
||
|
||
RUN apk add --update make git | ||
|
||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=composer/composer:2-bin /composer /usr/bin/composer | ||
|
||
RUN mkdir -p /opt/box-project/box | ||
WORKDIR /opt/box-project/box | ||
ADD . /opt/box-project/box | ||
RUN make compile | ||
|
||
FROM --platform=linux/amd64 php:8.3-cli-alpine | ||
Check warning on line 13 in .docker/php83.dockerfile GitHub Actions / Publish the Docker image PHP 8.3FROM --platform flag should not use a constant value
|
||
|
||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ | ||
RUN install-php-extensions zlib phar sodium tokenizer filter intl | ||
|
||
COPY --chmod=755 --from=build-stage /opt/box-project/box/bin/box.phar /usr/bin/box | ||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=composer/composer:2-bin /composer /usr/bin/composer | ||
|
||
RUN mkdir -p /local | ||
WORKDIR /local | ||
ENTRYPOINT ["/usr/bin/box"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM --platform=linux/amd64 php:8.3-cli-alpine as build-stage | ||
Check warning on line 1 in .docker/php83_xdebug.dockerfile GitHub Actions / Publish the Docker image PHP 8.3 (Xdebug)The 'as' keyword should match the case of the 'from' keyword
Check warning on line 1 in .docker/php83_xdebug.dockerfile GitHub Actions / Publish the Docker image PHP 8.3 (Xdebug)FROM --platform flag should not use a constant value
|
||
|
||
RUN apk add --update make git | ||
|
||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=composer/composer:2-bin /composer /usr/bin/composer | ||
|
||
RUN mkdir -p /opt/box-project/box | ||
WORKDIR /opt/box-project/box | ||
ADD . /opt/box-project/box | ||
RUN make compile | ||
|
||
FROM --platform=linux/amd64 php:8.3-cli-alpine | ||
Check warning on line 13 in .docker/php83_xdebug.dockerfile GitHub Actions / Publish the Docker image PHP 8.3 (Xdebug)FROM --platform flag should not use a constant value
|
||
|
||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ | ||
RUN install-php-extensions zlib phar sodium tokenizer filter intl xdebug | ||
|
||
COPY --chmod=755 --from=build-stage /opt/box-project/box/bin/box.phar /usr/bin/box | ||
# hadolint ignore=DL3022 | ||
COPY --chmod=755 --from=composer/composer:2-bin /composer /usr/bin/composer | ||
|
||
RUN mkdir -p /local | ||
WORKDIR /local | ||
ENTRYPOINT ["/usr/bin/box"] |