diff --git a/cluster/gce/gci/mounter/Changelog b/cluster/gce/gci/mounter/Changelog new file mode 100644 index 00000000000..69a5ae874d4 --- /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:9b3c1f04ad6b8947af4eb98f1eff2dc54c5664e3469b4cdf722ec5dd2a1dc064 diff --git a/cluster/gce/gci/mounter/Dockerfile b/cluster/gce/gci/mounter/Dockerfile new file mode 100644 index 00000000000..27c2bd4459a --- /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 ubuntu:xenial +MAINTAINER vishh@google.com + +RUN apt-get update && apt-get install -y nfs-common=1:1.2.8-9ubuntu12 glusterfs-client=3.7.6-1ubuntu1 + +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