Fix mounting volumes in docker based kubernetes setup.

This commit is contained in:
Filip Grzadkowski
2015-09-01 16:42:05 +02:00
parent 39a91bf122
commit 1a9b0d6018
3 changed files with 23 additions and 10 deletions

View File

@@ -1,12 +1,15 @@
FROM google/debian:wheezy
FROM debian:jessie
RUN apt-get update
RUN apt-get -yy -q install iptables ca-certificates
RUN apt-get -yy -q install iptables ca-certificates file util-linux
RUN cp /usr/bin/nsenter /nsenter
COPY hyperkube /hyperkube
RUN chmod a+rx /hyperkube
COPY master-multi.json /etc/kubernetes/manifests-multi/master.json
COPY master.json /etc/kubernetes/manifests/master.json
COPY safe_format_and_mount /usr/share/google/safe_format_and_mount
RUN chmod a+rx /usr/share/google/safe_format_and_mount