mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Add safe_format_and_mount to hyperkube image.
* Add volume format script into hyperkube image. * Fix issue with format script on non-redhat platforms.
This commit is contained in:
@@ -8,3 +8,5 @@ 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
|
||||
|
@@ -3,6 +3,7 @@
|
||||
VERSION=v0.14.2
|
||||
|
||||
all:
|
||||
cp ../../saltbase/salt/helpers/safe_format_and_mount .
|
||||
curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/hyperkube
|
||||
docker build -t gcr.io/google_containers/hyperkube:${VERSION} .
|
||||
gcloud preview docker push gcr.io/google_containers/hyperkube:${VERSION}
|
||||
|
Reference in New Issue
Block a user