From e8f67a64416117e0f08d1875a19ccd645da29cc7 Mon Sep 17 00:00:00 2001 From: Fedor Nikolaev Date: Fri, 28 Jun 2024 19:16:35 +0400 Subject: [PATCH] Add new binaries to final container --- dockerfile/cosmos/Dockerfile | 6 ++++++ dockerfile/cosmos/local.Dockerfile | 6 ++++++ dockerfile/cosmos/localcross.Dockerfile | 6 ++++++ dockerfile/cosmos/native.Dockerfile | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/dockerfile/cosmos/Dockerfile b/dockerfile/cosmos/Dockerfile index 8272851b..794f5258 100644 --- a/dockerfile/cosmos/Dockerfile +++ b/dockerfile/cosmos/Dockerfile @@ -148,6 +148,8 @@ COPY --from=infra-toolkit /usr/local/bin/jq /bin/ # Will then only have one copy of the busybox minimal binary file with all utils pointing to the same underlying inode RUN for b in \ cat \ + mv \ + cp \ date \ df \ du \ @@ -170,6 +172,10 @@ RUN for b in \ tr \ watch \ which \ + apk \ + ps \ + netstat \ + vi \ ; do ln sh $b; done # Remove write utils diff --git a/dockerfile/cosmos/local.Dockerfile b/dockerfile/cosmos/local.Dockerfile index e44bf47d..e4d4398b 100644 --- a/dockerfile/cosmos/local.Dockerfile +++ b/dockerfile/cosmos/local.Dockerfile @@ -62,6 +62,8 @@ COPY --from=infra-toolkit /usr/local/bin/jq /bin/ # Will then only have one copy of the busybox minimal binary file with all utils pointing to the same underlying inode RUN for b in \ cat \ + mv \ + cp \ date \ df \ du \ @@ -84,6 +86,10 @@ RUN for b in \ tr \ watch \ which \ + apk \ + ps \ + netstat \ + vi \ ; do ln sh $b; done # Remove write utils diff --git a/dockerfile/cosmos/localcross.Dockerfile b/dockerfile/cosmos/localcross.Dockerfile index dd52f287..863a11ec 100644 --- a/dockerfile/cosmos/localcross.Dockerfile +++ b/dockerfile/cosmos/localcross.Dockerfile @@ -135,6 +135,8 @@ COPY --from=infra-toolkit /usr/local/bin/jq /bin/ # Will then only have one copy of the busybox minimal binary file with all utils pointing to the same underlying inode RUN for b in \ cat \ + mv \ + cp \ date \ df \ du \ @@ -157,6 +159,10 @@ RUN for b in \ tr \ watch \ which \ + apk \ + ps \ + netstat \ + vi \ ; do ln sh $b; done # Remove write utils diff --git a/dockerfile/cosmos/native.Dockerfile b/dockerfile/cosmos/native.Dockerfile index a640cb6d..28354eee 100644 --- a/dockerfile/cosmos/native.Dockerfile +++ b/dockerfile/cosmos/native.Dockerfile @@ -122,6 +122,8 @@ COPY --from=infra-toolkit /usr/local/bin/jq /bin/ # Will then only have one copy of the busybox minimal binary file with all utils pointing to the same underlying inode RUN for b in \ cat \ + mv \ + cp \ date \ df \ du \ @@ -144,6 +146,10 @@ RUN for b in \ tr \ watch \ which \ + apk \ + ps \ + netstat \ + vi \ ; do ln sh $b; done # Remove write utils