Skip to content

Commit

Permalink
Upgrade php base os buster to bullseye (#144)
Browse files Browse the repository at this point in the history
* feat Upgrade php base os buster to bullseye

* feat Add os version verification command to GitHub Actions
  • Loading branch information
ucan-lab authored Oct 2, 2021
1 parent 5c2204c commit 5fa9a7e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/laravel-create-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/laravel-git-clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion infra/docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-fpm-buster
FROM php:8.0-fpm-bullseye
LABEL maintainer="ucan-lab <yes@u-can.pro>"
SHELL ["/bin/bash", "-oeux", "pipefail", "-c"]

Expand Down

0 comments on commit 5fa9a7e

Please sign in to comment.