Skip to content

Commit 4efc25a

Browse files
committed
Version bumped PHP/Swoole in container image
1 parent 955d067 commit 4efc25a

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.idea
2-
*/*.logs
2+
*/*.log
33
NOTES*.md
44
trivy-*-results.json

CHANGES.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Version 0.2.0
2+
3+
### Add
4+
5+
* CHANGELOG.md
6+
* .dockerignore
7+
8+
### Change
9+
10+
* .gitignore now includes log and scanning output rules
11+
* ImageMagick version bumped to 7.1.2.15, tests.yaml aligned to ensure new version
12+
* PHP version bumped to 8.5.3
13+
* Swoole version bumped to 6.2.0
14+
15+
### Fixes
16+
17+
* README.md usage instructions more detailed
18+
19+
### Miscellaneous
20+
21+
### Removed
22+

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
ARG BASEIMAGE="php:8.4.18-cli-alpine3.23"
1+
ARG BASEIMAGE="php:8.5.3-cli-alpine3.23"
22

33
FROM $BASEIMAGE AS compile
44

55
ENV PHP_REDIS_VERSION="6.3.0" \
6-
PHP_SWOOLE_VERSION="v6.1.7" \
6+
PHP_SWOOLE_VERSION="6.2.0" \
77
PHP_IMAGICK_VERSION="3.8.1" \
88
PHP_MONGODB_VERSION="2.2.1" \
99
PHP_YAML_VERSION="2.3.0" \
@@ -54,7 +54,7 @@ RUN \
5454
## Swoole Extension
5555
FROM compile AS swoole
5656
RUN \
57-
git clone --depth 1 --branch $PHP_SWOOLE_VERSION https://github.com/swoole/swoole-src.git && \
57+
git clone --depth 1 --branch v$PHP_SWOOLE_VERSION https://github.com/swoole/swoole-src.git && \
5858
cd swoole-src && \
5959
phpize && \
6060
./configure --enable-sockets --enable-http2 --enable-openssl --enable-swoole-curl && \

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ docker run appwrite/base:latest php -m| tee "run-$(date +%s).log"
7171

7272
## Push
7373

74+
Note: Build of the image and push to the registry shoudl be handle by automation.
75+
7476
```bash
7577
docker push appwrite/base:latest | tee "push-$(date +%s).log"
7678
```

0 commit comments

Comments
 (0)