From d5affb6fe7aed6ca1197622acf513455986c81e6 Mon Sep 17 00:00:00 2001 From: Ole Morud Date: Sun, 4 Aug 2024 11:36:13 +0200 Subject: [PATCH] Makefile: Disable network on container invokation --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b0c1508..69a3507 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,12 @@ all: myos.iso SOURCE_DIR := src BUILD_DIR := build -CONTAINER_CMD := podman run -v "$(shell pwd)":"/scratch" \ - --workdir="/scratch" \ - -e TERM \ - -t \ - cc-i686:latest +CONTAINER_CMD := podman run -v "$(shell pwd)":"/scratch" \ + --workdir="/scratch" \ + --network=none \ + -e TERM \ + -t \ + cc-i686:latest CC := $(CONTAINER_CMD) i686-elf-gcc LD := $(CONTAINER_CMD) i686-elf-ld