-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (18 loc) · 660 Bytes
/
Makefile
File metadata and controls
30 lines (18 loc) · 660 Bytes
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
EDITOR=vim
all: regconfig build
build:
docker build -t tfoldi/tableau-server:release .
run: build
docker run -ti --privileged -v /sys/fs/cgroup:/sys/fs/cgroup -v /run -p 80 tfoldi/tableau-server:release
clean:
docker system prune
prune:
docker system prune -f
exec:
docker exec -ti `docker ps | grep tableau-server:release |head -1 | awk -e '{print $$1}'` /bin/bash
config/registration_file.json:
cp config/registration_file.json.templ config/registration_file.json
$(EDITOR) config/registration_file.json
regconfig: config/registration_file.json
stop:
docker stop `docker ps | grep tableau-server:release |head -1| awk -e '{print $$1}'`