Skip to content

Commit

Permalink
Switch to new Plesk image for tests in docker.
Browse files Browse the repository at this point in the history
The new image contains real systemd and is required for Plesk >= 18.0.36.
It already contains all components required by tests.
  • Loading branch information
vizovitin committed Jun 4, 2021
1 parent 859c16f commit e0bc21b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
version: '2'
services:
plesk:
image: plesk/plesk:tests
image: plesk/plesk:latest
logging:
driver: none
ports:
["8443:8443"]
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tests:
build: .
environment:
Expand All @@ -18,4 +24,3 @@ services:
- plesk
volumes:
- .:/opt/api-php-lib

0 comments on commit e0bc21b

Please sign in to comment.