Skip to content

Commit

Permalink
Bump php to 8.2 and symfony to 6.2 (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanduijker committed Apr 7, 2023
1 parent a680e89 commit bbaa34b
Show file tree
Hide file tree
Showing 5 changed files with 567 additions and 838 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN composer install \
##################################################################################################################
# Base Stage
##################################################################################################################
FROM php:8.0-cli-alpine3.12 as base_image
FROM php:8.2-cli-alpine3.17 as base_image

RUN apk --no-cache update \
&& apk --no-cache add gmp-dev python3 py3-pip \
Expand Down Expand Up @@ -53,7 +53,7 @@ COPY --from=vendor /usr/bin/composer /usr/bin/composer

# php code coverage & development
RUN apk --no-cache update \
&& apk --no-cache add autoconf g++ make \
&& apk --no-cache add autoconf g++ make linux-headers \
&& pecl install pcov xdebug \
&& docker-php-ext-enable pcov xdebug

Expand Down
1 change: 1 addition & 0 deletions bin/bitcoin-dca
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ if (!$containerConfigCache->isFresh()) {
$containerBuilder->addCompilerPass(new RegisterListenersPass());
$containerBuilder->addCompilerPass(new SerializerPass());
$containerBuilder->setParameter('application.path', dirname(__DIR__));
$containerBuilder->setParameter('kernel.debug', $_SERVER['DEBUG'] ?? false);

$versionFile = dirname(__DIR__).DIRECTORY_SEPARATOR.'version.json';
if (file_exists($versionFile)) {
Expand Down

0 comments on commit bbaa34b

Please sign in to comment.