Skip to content

Commit eb6711e

Browse files
kaifrieddiemol
authored andcommitted
Feature: Deleted not needed mkdir (#974)
The COPY command create the folder /opt/bin/ if not exists. So there is no need to create the folder. Deleting the line reduce the docker image by one layer and save disk space. Tested with docker and podman.
1 parent f3b63b7 commit eb6711e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Base/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ RUN useradd seluser \
5151
&& echo 'seluser:secret' | chpasswd
5252
ENV HOME=/home/seluser
5353

54-
#=======================================
55-
# Create shared / common bin directory
56-
#=======================================
57-
RUN mkdir -p /opt/bin
58-
5954
#======================================
6055
# Add Grid check script
6156
#======================================

0 commit comments

Comments
 (0)