Skip to content

Commit b07d2e1

Browse files
committed
build and publish for php8.0
1 parent f12874c commit b07d2e1

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM php:7.4
1+
FROM php:8.0
22

33
ARG BUILD_DATE
44
ARG VCS_REF
55
ENV COMPOSER_ALLOW_SUPERUSER 1
66

77
LABEL Maintainer="Swiftmade <hello@swiftmade.co>" \
88
Description="A simple PHP 7.4 image which contain just the minimum required to run Dusk on bitbucket pipelines." \
9-
org.label-schema.name="swiftmade/laravel-test-container:7.4" \
10-
org.label-schema.description="A simple PHP 7.2 image which contain just the minimum required to run Dusk on CI/CD pipelines." \
9+
org.label-schema.name="swiftmade/laravel-test-container:8.0" \
10+
org.label-schema.description="Laravel test container w/ all necessary extensions to run PHPUnit and Laravel Dusk tests." \
1111
org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.vcs-url="https://github.com/swiftmade/laravel-test-container" \
1313
org.label-schema.vcs-ref=$VCS_REF \

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
Use this docker image to run Laravel tests, including Dusk.
44

55
```
6-
swiftmade/laravel-test-container:7.4
6+
swiftmade/laravel-test-container:8.0
77
```
88

9-
- 🐘 **PHP Version:** 7.4
9+
- 🐘 **PHP Version:** 8.0
1010
- 🌍 **Chromium Version:** 80
1111

1212
#### What's inside?
1313

1414
```
15-
PHP 7.4.16 (cli) (built: Mar 6 2021 04:00:29) ( NTS )
15+
PHP 8.0.8 (cli) (built: Jul 1 2021 22:23:42) ( NTS )
1616
Copyright (c) The PHP Group
17-
Zend Engine v3.4.0, Copyright (c) Zend Technologies
18-
with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans
17+
Zend Engine v4.0.8, Copyright (c) Zend Technologies
18+
with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
1919
2020
21-
Composer version 2.0.11 2021-02-24 14:57:23
21+
Composer version 2.1.3 2021-06-09 16:31:20
2222
2323
2424
[PHP Modules]

build-and-push.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
2-
docker build . -t swiftmade/laravel-test-container:7.4
3-
docker push swiftmade/laravel-test-container:7.4
4-
docker run --rm swiftmade/laravel-test-container:7.4 /bin/bash -c "php -v && echo $'\n' && composer --version && echo $'\n' && php -m"
2+
docker build . -t swiftmade/laravel-test-container:8.0
3+
docker push swiftmade/laravel-test-container:8.0
4+
docker run --rm swiftmade/laravel-test-container:8.0 /bin/bash -c "php -v && echo $'\n' && composer --version && echo $'\n' && php -m"

0 commit comments

Comments
 (0)