diff --git a/Makefile b/Makefile index 400e4820ed..837be3f7e2 100644 --- a/Makefile +++ b/Makefile @@ -312,7 +312,7 @@ ifeq ($(IN_DOCKER),1) else docker run --rm --workdir /mnt --volume $(CURDIR):/mnt $(ISO_DOCKER_EXTRA_ARGS) \ --user $(shell id -u):$(shell id -g) --env HOME=/tmp --env IN_DOCKER=1 \ - $(ISO_BUILD_IMAGE) /usr/bin/make out/minikube.iso + $(ISO_BUILD_IMAGE) /bin/bash -lc '/usr/bin/make out/minikube.iso' endif iso_in_docker: diff --git a/deploy/iso/minikube-iso/Dockerfile b/deploy/iso/minikube-iso/Dockerfile index 3b9a94f96b..21906ca2b4 100644 --- a/deploy/iso/minikube-iso/Dockerfile +++ b/deploy/iso/minikube-iso/Dockerfile @@ -15,7 +15,8 @@ FROM ubuntu:18.04 RUN apt-get update \ - && apt-get install -y apt dpkg apt-utils ca-certificates \ + && apt-get install -y apt dpkg apt-utils ca-certificates software-properties-common \ + && add-apt-repository -y ppa:longsleep/golang-backports \ && apt-get upgrade -y \ && apt-get install -y \ build-essential \