-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
48 lines (39 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
clean:
docker compose kill
docker compose rm
sudo rm -fr data/*/*/ data/wcs/config.pck data/wcs/.rnd
run:
docker compose up
build-bookworm-base:
cd teleservices && \
docker build --pull -f Dockerfile-base -t harbor.imio.be/teleservices-bookworm-base:latest \
--build-arg DEBIAN_VERSION=bookworm \
.
build-bookworm:
cd teleservices && \
docker build --pull --target prod-image -t teleservices/bookworm:latest \
--build-arg DEBIAN_VERSION=bookworm \
.
build-bookworm-test:
cd teleservices && \
docker build --pull --target dev-image -t teleservices/bookworm-test:latest \
--build-arg DEBIAN_VERSION=bookworm \
.
build-no-cache-bookworm:
cd teleservices && \
docker build --pull --no-cache --target prod-image -t teleservices/bookworm:latest \
--build-arg DEBIAN_VERSION=bookworm \
.
build-no-cache-bookworm-test:
cd teleservices && \
docker build --pull --no-cache --target dev-image -t teleservices/bookworm-test:latest \
--build-arg DEBIAN_VERSION=bookworm \
.
run-bookworm-test:
make run branch=bookworm-test
fast-clean:
docker compose down -v
sudo rm -fr data/*/*/ data/wcs/config.pck data/wcs/.rnd
.PHONY: validation-tests
validation-tests:
docker compose -f validation-tests/docker-compose.yml up --exit-code-from cypress