Skip to content

Commit fc1dd34

Browse files
committed
Update tests and README. Remove 18.04 from supported list
1 parent 425b0a1 commit fc1dd34

File tree

13 files changed

+26
-348
lines changed

13 files changed

+26
-348
lines changed

.circleci/config.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

1804/Dockerfile

Lines changed: 0 additions & 89 deletions
This file was deleted.

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ Designed to be a single interface that just 'gets out of your way', and works on
5353
## Image Versions
5454
> **NOTE:** [PHP 5.6 is end of life][end-of-life], so the PHP 5 images `mattrayner/lamp:latest-1404-php5` and `mattrayner/lamp:latest-1604-php5` will not receive any updates. Although these images will stay on Docker Hub, we **strongly** recommend updating you applications to PHP 7 or PHP 8.
5555
56-
> **NOTE**: The 14.04 and 16.04 variants of this image are no longer being actively supported or updated.
56+
> **NOTE**: The 14.04, 16.04 and 18.04 variants of this image are no longer being actively supported or updated.
5757
5858
There are four main 'versions' of the docker image. The table below shows the different tags you can use, along with the PHP, MySQL and Apache versions that come with it.
5959

6060
Component | `latest-1404` | `latest-1604` | `latest-1804-php7` `latest-1804-php8` | `latest-2004-php7` `latest-2004-php8`
6161
---|---|---|---|---
6262
[Apache][apache] | `2.4.7` | `2.4.18` | `2.4.29` | `2.4.41`
63-
[MySQL][mysql] | `5.5.62` | `5.7.30` | `5.7.35` | `8.0.26`
64-
[PHP][php] | `7.3.3` | `7.4.6` | `7.4.23`/`8.0.10` | `7.4.23`/`8.0.10`
63+
[MySQL][mysql] | `5.5.62` | `5.7.30` | `5.7.35` | `8.0.36`
64+
[PHP][php] | `7.3.3` | `7.4.6` | `7.4.23`/`8.0.10` | `7.4.33`/`8.0.30`
6565
[phpMyAdmin][phpmyadmin] | `4.8.5` | `5.0.2` | `5.1.1` | `5.1.1`
6666

6767

@@ -270,6 +270,21 @@ If you wish to submit a bug fix or feature, you can create a pull request and it
270270
5. Push to the branch (git push origin my-new-feature)
271271
6. Create a new Pull Request
272272

273+
## Building / Releasing
274+
Manually building and releasing can be done with the following:
275+
276+
```bash
277+
docker-compose -f docker-compose.test.yml -p ci build
278+
docker tag ci-web2004-php8 mattrayner/lamp:latest
279+
docker tag ci-web2004-php8 mattrayner/lamp:latest-2004
280+
docker tag ci-web2004-php8 mattrayner/lamp:latest-2004-php8
281+
docker tag ci-web2004-php7 mattrayner/lamp:latest-2004-php7
282+
283+
docker push mattrayner/lamp:latest
284+
docker push mattrayner/lamp:latest-2004
285+
docker push mattrayner/lamp:latest-2004-php8
286+
docker push mattrayner/lamp:latest-2004-php7
287+
```
273288

274289
## License
275290
Docker-LAMP is licensed under the [Apache 2.0 License][info-license].

docker-compose.test.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,6 @@ version: "2"
22

33
services:
44

5-
web1804-php7:
6-
build:
7-
context: .
8-
dockerfile: ./1804/Dockerfile
9-
args:
10-
- PHP_VERSION=7.4
11-
environment:
12-
- MYSQL_ADMIN_PASS=password
13-
ports:
14-
- "3000:80"
15-
- "3001:3306"
16-
tmpfs:
17-
- /var/lib/mysql
18-
19-
web1804-php8:
20-
build:
21-
context: .
22-
dockerfile: ./1804/Dockerfile
23-
args:
24-
- PHP_VERSION=8.0
25-
environment:
26-
- MYSQL_ADMIN_PASS=password
27-
ports:
28-
- "3020:80"
29-
- "3021:3306"
30-
tmpfs:
31-
- /var/lib/mysql
32-
335
web2004-php7:
346
build:
357
context: .

tests/1804-php7.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/1804-php8.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/2004-php7.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ waitForSupervisordProcess web2004-php7 apache2
55
waitForSupervisordProcess web2004-php7 mysqld
66

77
testimage 2004-php7 3030
8-
testmysql web2004-php7 3031
8+
#testmysql web2004-php7 3031

tests/2004-php8.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ waitForSupervisordProcess web2004-php8 apache2
55
waitForSupervisordProcess web2004-php8 mysqld
66

77
testimage 2004-php8 3040
8-
testmysql web2004-php8 3041
8+
#testmysql web2004-php8 3041

tests/expected/1804-php7.html

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)