Skip to content

Commit

Permalink
Add new binaries to final container
Browse files Browse the repository at this point in the history
  • Loading branch information
felichita committed Jun 28, 2024
1 parent 589e1c2 commit e8f67a6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dockerfile/cosmos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -170,6 +172,10 @@ RUN for b in \
tr \
watch \
which \
apk \
ps \
netstat \
vi \
; do ln sh $b; done

# Remove write utils
Expand Down
6 changes: 6 additions & 0 deletions dockerfile/cosmos/local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -84,6 +86,10 @@ RUN for b in \
tr \
watch \
which \
apk \
ps \
netstat \
vi \
; do ln sh $b; done

# Remove write utils
Expand Down
6 changes: 6 additions & 0 deletions dockerfile/cosmos/localcross.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -157,6 +159,10 @@ RUN for b in \
tr \
watch \
which \
apk \
ps \
netstat \
vi \
; do ln sh $b; done

# Remove write utils
Expand Down
6 changes: 6 additions & 0 deletions dockerfile/cosmos/native.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -144,6 +146,10 @@ RUN for b in \
tr \
watch \
which \
apk \
ps \
netstat \
vi \
; do ln sh $b; done

# Remove write utils
Expand Down

0 comments on commit e8f67a6

Please sign in to comment.