seafile-containerized/image/Makefile

22 lines
391 B
Makefile
Raw Normal View History

2016-11-21 05:44:12 +00:00
server_version=6.0.5
base_image=seafileorg/base:16.04
server_image=seafileorg/server:$(server_version)
all:
2016-11-21 05:44:12 +00:00
@echo
@echo Pleaes use '"make base"' or '"make server"' or '"make push"'.
@echo
base:
2016-11-21 05:44:12 +00:00
cd base && docker build -t $(base_image) .
server:
cd seafile && docker build -t $(server_image) .
push:
docker push $(base_image)
docker push $(server_image)
2016-11-21 05:44:12 +00:00
.PHONY: base server push