Skip to content

Commit

Permalink
#37 fix: custom version into docker file v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 3, 2024
1 parent d23432a commit bdcae2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion php83/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM php:8.3-fpm-alpine
ARG PHP_VERSION=8.3

FROM php:${PHP_VERSION}-fpm-alpine

## Make php ini
RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
Expand Down
4 changes: 3 additions & 1 deletion worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM php:8.3-cli-alpine
ARG PHP_VERSION=8.3

FROM php:${PHP_VERSION}-cli-alpine

RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"

Expand Down

0 comments on commit bdcae2b

Please sign in to comment.