From 1eacb0b195920d217c7d41eb8ab5c0d50eafc937 Mon Sep 17 00:00:00 2001 From: Benjamin Pelletier Date: Thu, 9 Nov 2023 06:24:53 -0800 Subject: [PATCH] [build] Exclude pyc files from image (#333) Exclude pyc files from image --- .dockerignore | 1 + monitoring/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 61d3b70c81..2003b2ca8d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ build/workspace +*.pyc diff --git a/monitoring/Makefile b/monitoring/Makefile index 663832e369..e2dfa540d9 100644 --- a/monitoring/Makefile +++ b/monitoring/Makefile @@ -6,7 +6,7 @@ lint: format: cd uss_qualifier && make format -image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image) $(shell find ../interfaces -type f) +image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image ! -name *.pyc) $(shell find ../interfaces -type f) # Building image due to changes in the following files: $? ./build.sh