2014-11-06 23:57:46 +00:00
|
|
|
# The build rule builds a Docker image that logs all Docker contains logs to
|
|
|
|
# Google Compute Platform using the Cloud Logging API. The push rule pushes
|
|
|
|
# the image to DockerHub.
|
|
|
|
# Satnam Singh (satnam@google.com)
|
|
|
|
|
|
|
|
.PHONY: build push
|
|
|
|
|
2015-02-26 19:41:45 +00:00
|
|
|
|
|
|
|
TAG = 1.0
|
|
|
|
|
2014-11-06 23:57:46 +00:00
|
|
|
build:
|
2015-02-26 19:41:45 +00:00
|
|
|
sudo docker build -t kubernetes/fluentd-gcp:$(TAG) .
|
2014-11-06 23:57:46 +00:00
|
|
|
|
|
|
|
push:
|
2015-02-26 19:41:45 +00:00
|
|
|
sudo docker push kubernetes/fluentd-gcp:$(TAG)
|
2014-11-06 23:57:46 +00:00
|
|
|
|