Skip to content

Commit

Permalink
chore: php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Leksat committed Nov 5, 2023
1 parent f7fa83e commit 0c346b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down
6 changes: 3 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM gitpod/workspace-full
RUN sudo update-alternatives --set php $(which php8.1)
RUN sudo install-packages php8.1-gd php8.1-mbstring php8.1-curl php8.1-sqlite3 php8.1-zip php8.1-xdebug php8.1-imagick
RUN sudo update-alternatives --set php $(which php8.2)
RUN sudo install-packages php8.2-gd php8.2-mbstring php8.2-curl php8.2-sqlite3 php8.2-zip php8.2-xdebug php8.2-imagick
RUN pnpx [email protected] install-deps
RUN pnpx [email protected] install
RUN npm install -g [email protected] @withgraphite/graphite-cli

COPY .gitpod/xdebug.ini /etc/php/8.1/mods-available/xdebug.ini
COPY .gitpod/xdebug.ini /etc/php/8.2/mods-available/xdebug.ini
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \
echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \
Expand Down
4 changes: 2 additions & 2 deletions .lagoon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN --mount=type=cache,target=/tmp/cache pnpm deploy --filter "@custom/website"
# ====================================================================================================
# CLI IMAGE
# ====================================================================================================
FROM uselagoon/php-8.1-cli-drupal as cli
FROM uselagoon/php-8.2-cli-drupal as cli

RUN apk add --no-cache git qpdf imagemagick icu-dev && \
docker-php-ext-install intl && \
Expand All @@ -53,7 +53,7 @@ ENV WEBROOT=web
# ====================================================================================================
# PHP IMAGE
# ====================================================================================================
FROM uselagoon/php-8.1-fpm as php
FROM uselagoon/php-8.2-fpm as php
RUN apk add --no-cache imagemagick qpdf icu-dev && \
docker-php-ext-install intl && \
docker-php-ext-enable intl
Expand Down
2 changes: 1 addition & 1 deletion apps/cms/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^8.1 <8.2",
"php": "^8.2 <8.3",
"amazeeio/drupal_integrations": "^0.3.7",
"amazeelabs/default-content": "^1.2.11",
"amazeelabs/graphql_directives": "^2.1",
Expand Down

0 comments on commit 0c346b0

Please sign in to comment.