Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Testing stripping of binaries #3316
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Sep 16, 2022
1 parent 4b4279f commit 898c6df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ apt-get -y install \
curl \
ca-certificates \
jq \
unzip
unzip \
binutils
rm /usr/local/sbin/unminimize
EOF

Expand Down
3 changes: 3 additions & 0 deletions tools/Dockerfile.tail
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ find "${prefix}" -type f \
| grep -v "${prefix}${docker_setup_manifests}/${name}.txt" \
>"${prefix}${docker_setup_manifests}/${name}.txt"
EOF
#RUN <<EOF
#find "${prefix}" -type f -executable -exec strip --verbose --strip-all --preserve-dates {} \;
#EOF
COPY manifest.json "${prefix}${docker_setup_manifests}/${name}.json"

FROM scratch
Expand Down

0 comments on commit 898c6df

Please sign in to comment.