forked from rvolz/BicBucStriim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (24 loc) · 1.04 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
BBS-Version = 1.5.0-solr
SOLR-Version = 8.10
start:
docker-compose -f docker/docker-compose.dev.yml up --build
stop:
docker-compose -f docker/docker-compose.dev.yml rm -fsv
php-bash:
docker-compose -f docker/docker-compose.builder.yml run --rm php-bash
ruby-bash: export Version = $(BBS-Version)
ruby-bash:
docker-compose -f docker/docker-compose.builder.yml run --rm ruby-bash
build: export Version = $(BBS-Version)
build:
docker-compose -f docker/docker-compose.builder.yml run --rm ruby-build
images: export Version = $(BBS-Version)
images:
docker build -f docker/bbs/Dockerfile --build-arg Version=$(BBS-Version) . -t derhenning/bicbucstriim:latest -t derhenning/bicbucstriim:$(BBS-Version)
docker build -f docker/solr/Dockerfile . -t derhenning/bicbucstriim-solr:latest -t derhenning/bicbucstriim-solr:$(SOLR-Version)
push:
docker push derhenning/bicbucstriim:latest
docker push derhenning/bicbucstriim:$(BBS-Version)
docker push derhenning/bicbucstriim-solr:latest
docker push derhenning/bicbucstriim-solr:$(SOLR-Version)
ci: build images push