Skip to content

Commit 4fd5b81

Browse files
committed
Speed up tests re-execution
1 parent 81d233c commit 4fd5b81

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tests/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM debian:bookworm
2+
3+
RUN apt-get update \
4+
&& apt-get install -y curl

tests/docker-compose.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ services:
1717
- /sys/fs/cgroup:/sys/fs/cgroup
1818
cgroup: host
1919
tests:
20-
image: debian:bookworm
20+
build: .
2121
depends_on:
2222
- plesk
2323
links:
2424
- plesk
2525
volumes:
2626
- .:/opt/tests/
27-
command: >
28-
bash -c "apt-get update
29-
&& apt-get install -y curl
30-
&& /opt/tests/wait-for-plesk.sh"
27+
command: /opt/tests/wait-for-plesk.sh

0 commit comments

Comments
 (0)