From 32b97d1ba1632273aa1b5daa5cc12e2aa9a8195b Mon Sep 17 00:00:00 2001 From: Kai Date: Tue, 15 Oct 2019 01:42:41 -0400 Subject: [PATCH] base dockerfile optimization: reduction of the layer By changing the file permissions of "check-grid.sh" it is no longer necessary to change the permissions during the image build. This saves a dockerlayer and therefore memory and resources. --- Base/Dockerfile | 1 - Base/check-grid.sh | 0 2 files changed, 1 deletion(-) mode change 100644 => 100755 Base/check-grid.sh diff --git a/Base/Dockerfile b/Base/Dockerfile index 8b3a21d1de..a1be86aea4 100644 --- a/Base/Dockerfile +++ b/Base/Dockerfile @@ -60,7 +60,6 @@ RUN mkdir -p /opt/bin # Add Grid check script #====================================== COPY check-grid.sh entry_point.sh /opt/bin/ -RUN chmod +x /opt/bin/check-grid.sh #====================================== # Add Supervisor configuration file diff --git a/Base/check-grid.sh b/Base/check-grid.sh old mode 100644 new mode 100755