-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile
22 lines (16 loc) · 1016 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: docker-build-builder docker-build-lt docker-run-builder docker-build-gitlab-data-debug docker-run-gitlab-data-debug
docker-build-builder:
docker build -t tmt-builder . -f docker/dockerfile-builder;
docker-build-lt:
cd docker && docker build -t tmt-languagetool . -f dockerfile-languagetool;
docker-build-gitlab-data-debug:
docker build --no-cache -t tmt-dockerfile-gitlab-data-debug . -f docker/dockerfile-gitlab-data-debug;
docker-run-gitlab-data-debug: docker-build-gitlab-data-debug
docker run -i -t tmt-dockerfile-gitlab-data-debug;
docker-run-builder: docker-build-builder docker-build-lt
./docker/stop-docker.sh
docker-compose -f docker/local.yml run -d --use-aliases --name translation-memory-tools-lt tmt-languagetool;
docker-compose -f docker/local.yml run -v $PWD$/tmt-files:/srv/tmt-files --use-aliases --name translation-memory-tools tmt-builder;
docker cp translation-memory-tools:/srv/web-docker .;
docker build -t tmt-data . -f docker/dockerfile-data;
./docker/stop-docker.sh;