From 45dcd3430a416953c9a3dcc1ca3c4f155be0b5db Mon Sep 17 00:00:00 2001 From: Jacob Reynolds Date: Wed, 28 Feb 2018 11:04:56 -0600 Subject: [PATCH 1/2] Explicitly naming python for oui This might just be an issue with Alpine linux in Docker, but referencing python with `./` notation even with `#!/usr/bin/python` declared would not execute the script. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad76eb42..07b91263 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ build: resources resources: oui oui: - @./network/make_oui.py + @python ./network/make_oui.py vet: @go vet ./... From bb23070c24d66affd98340b303dbe043a212403b Mon Sep 17 00:00:00 2001 From: Jacob Reynolds Date: Wed, 28 Feb 2018 11:05:25 -0600 Subject: [PATCH 2/2] Adding python to build for ./network/make_oui.py --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3de35681..afecc656 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY . $SRC_DIR WORKDIR $SRC_DIR RUN apk add --update ca-certificates -RUN apk add --no-cache --update bash iptables build-base libpcap-dev +RUN apk add --no-cache --update bash iptables build-base libpcap-dev python # As Alpine Linux uses a different folder, we need this # ugly hack in order to compile gopacket statically