From 5fa9a7e975b098c9916f039a79d1c6744e1bc0da Mon Sep 17 00:00:00 2001 From: ucan-lab <35098175+ucan-lab@users.noreply.github.com> Date: Sat, 2 Oct 2021 16:23:12 +0900 Subject: [PATCH] Upgrade php base os buster to bullseye (#144) * feat Upgrade php base os buster to bullseye * feat Add os version verification command to GitHub Actions --- .github/workflows/laravel-create-project.yml | 5 +++++ .github/workflows/laravel-git-clone.yml | 5 +++++ README.md | 2 +- infra/docker/php/Dockerfile | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/laravel-create-project.yml b/.github/workflows/laravel-create-project.yml index 42893848..70dafa65 100644 --- a/.github/workflows/laravel-create-project.yml +++ b/.github/workflows/laravel-create-project.yml @@ -23,6 +23,11 @@ jobs: mkdir backend docker-compose up -d + - name: OS Version + run: | + docker-compose exec -T app cat /etc/os-release + docker-compose exec -T app cat /etc/debian_version + - name: PHP Version run: docker-compose exec -T app php --version diff --git a/.github/workflows/laravel-git-clone.yml b/.github/workflows/laravel-git-clone.yml index 2ab1a9cb..e93b0383 100644 --- a/.github/workflows/laravel-git-clone.yml +++ b/.github/workflows/laravel-git-clone.yml @@ -24,6 +24,11 @@ jobs: - name: Create & Start Docker Containers run: docker-compose up -d + - name: OS Version + run: | + docker-compose exec -T app cat /etc/os-release + docker-compose exec -T app cat /etc/debian_version + - name: PHP Version run: docker-compose exec -T app php --version diff --git a/README.md b/README.md index 29312979..7b2df348 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ http://localhost ### app container - Base image - - [php](https://hub.docker.com/_/php):8.0-fpm-buster + - [php](https://hub.docker.com/_/php):8.0-fpm-bullseye - [composer](https://hub.docker.com/_/composer):2.1 ### web container diff --git a/infra/docker/php/Dockerfile b/infra/docker/php/Dockerfile index bb88f5b9..d816574f 100644 --- a/infra/docker/php/Dockerfile +++ b/infra/docker/php/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0-fpm-buster +FROM php:8.0-fpm-bullseye LABEL maintainer="ucan-lab " SHELL ["/bin/bash", "-oeux", "pipefail", "-c"]