diff --git a/cluster/gce/gci/mounter/Changelog b/cluster/gce/gci/mounter/Changelog new file mode 100644 index 00000000000..6c3a6a637dc --- /dev/null +++ b/cluster/gce/gci/mounter/Changelog @@ -0,0 +1,3 @@ +## v1 (Thu Oct 20 2016 Vishnu Kannan ) + - Creating a container with mount tools pre-installed + - Digest: sha256:e3dad2a7e6e79f8fad8a513f85d7e1489456c829f966908617de21a084270d7f diff --git a/cluster/gce/gci/mounter/Dockerfile b/cluster/gce/gci/mounter/Dockerfile new file mode 100644 index 00000000000..77e0fcb983e --- /dev/null +++ b/cluster/gce/gci/mounter/Dockerfile @@ -0,0 +1,20 @@ +# Copyright 2016 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +FROM debian:jessie +MAINTAINER vishh@google.com + +RUN apt-get update && apt-get install -y nfs-common glusterfs-client + +ENTRYPOINT ["/bin/mount"] diff --git a/cluster/gce/gci/mounter/Makefile b/cluster/gce/gci/mounter/Makefile new file mode 100644 index 00000000000..4581cb35f63 --- /dev/null +++ b/cluster/gce/gci/mounter/Makefile @@ -0,0 +1,27 @@ +# Copyright 2016 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TAG=v1 +REGISTRY=gcr.io/google_containers +IMAGE=gci-mounter + +all: container + +container: + docker build --pull -t ${REGISTRY}/${IMAGE}:${TAG} . + +push: + gcloud docker -- push ${REGISTRY}/${IMAGE}:${TAG} + +.PHONY: all container push