diff --git a/Dockerfile b/Dockerfile index 618c672..837aaf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,12 @@ -FROM registry.fedoraproject.org/f27/kubernetes-node:latest +FROM registry.fedoraproject.org/kubernetes-master:rawhide MAINTAINER "Jason Brooks" ENV container=docker -ENV NAME=kubernetes-proxy VERSION=0 RELEASE=8 ARCH=x86_64 +ENV NAME=kubernetes-proxy VERSION=0 ARCH=x86_64 LABEL BZComponent="$NAME" \ name="$FGC/$NAME" \ version="$VERSION" \ - release="$RELEASE.$DISTTAG" \ architecture="$ARCH" \ atomic.type='system' diff --git a/config.json.template b/config.json.template index 5084c9b..3400a6b 100644 --- a/config.json.template +++ b/config.json.template @@ -7,8 +7,8 @@ "process": { "terminal": false, "user": { - "uid": 994, - "gid": 996 + "uid": 0, + "gid": 0 }, "args": [ "/usr/bin/kube-proxy-docker.sh" @@ -320,6 +320,16 @@ "rbind", "rprivate" ] + }, + { + "type": "bind", + "source": "/run", + "destination": "/run", + "options": [ + "rbind", + "rw", + "mode=755" + ] } ], "linux": { diff --git a/launch.sh b/launch.sh old mode 100644 new mode 100755