Skip to content

Commit

Permalink
Use bash instead of dash
Browse files Browse the repository at this point in the history
It's actually slightly smaller.
  • Loading branch information
thockin committed Mar 12, 2024
1 parent 3f817b2 commit 772ae53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN mkdir -p {ARG_STAGING}
COPY stage_binaries.sh /
RUN /stage_binaries.sh -o {ARG_STAGING} \
-p base-files \
-p dash \
-p bash \
-p coreutils \
-p git \
-p openssh-client \
Expand All @@ -69,6 +69,7 @@ RUN /stage_binaries.sh -o {ARG_STAGING} \
-f /etc/os-release \
-f /etc/passwd \
-f /tmp
RUN ln -s /bin/bash {ARG_STAGING}/bin/sh # Not sure why this is not set up automatically

FROM scratch as intermediate

Expand Down

0 comments on commit 772ae53

Please sign in to comment.