diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 71e74d7..6a60be9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,6 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Check php version + run: php --version + - name: Validate composer.json and composer.lock run: composer validate diff --git a/Dockerfile b/Dockerfile index da9f06a..2f780d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/node:12-buster-slim as builder +FROM docker.io/node:12-bullseye-slim as builder LABEL author="Devin Matte " WORKDIR /usr/src/schedule @@ -11,10 +11,10 @@ COPY assets ./assets RUN npm run-script build -FROM docker.io/php:7.3-apache +FROM docker.io/php:8.1-apache-bullseye LABEL author="Devin Matte " -RUN echo "deb-src http://deb.debian.org/debian buster main" >> /etc/apt/sources.list +RUN echo "deb-src http://deb.debian.org/debian bullseye main" >> /etc/apt/sources.list RUN apt-get -yq update && \ apt-get -yq install \ diff --git a/composer.json b/composer.json index b0d3841..7f2b5b1 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": ">=7.3", + "php": ">=8.1", "aws/aws-sdk-php": "^3.69", "ext-imagick": "*", "ext-json": "*"