Skip to content

Commit e21a02e

Browse files
author
Jonathan Visser
committed
Add image_os to docker image to use
1 parent ac92ee8 commit e21a02e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/test/run-general.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ set -e
44
set -x
55

66
export PHP_VERSION_SHORT=$(echo "${PHP_VERSION:-8.2}" | sed 's/\.//')
7+
if [[ "${PHP_VERSION:-8.2}" == "8.4" ]]; then
8+
export IMAGE_OS="bookworm"
9+
else
10+
export IMAGE_OS="buster"
11+
fi
712

813
# Handy aliases
914
HN="docker-compose exec -T hypernode"

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22
services:
33
hypernode:
44
container_name: hypernode
5-
image: docker.hypernode.com/byteinternet/hypernode-bookworm-docker-php${PHP_VERSION_SHORT:-81}-mysql80
5+
image: docker.hypernode.com/byteinternet/hypernode-${IMAGE_OS:buster}-docker-php${PHP_VERSION_SHORT:-81}-mysql57
66
volumes:
77
- ./ci/test/.ssh:/root/.ssh
88
ports:

0 commit comments

Comments
 (0)