You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an additional build target to create a compressed version of the presh executable. In some circumstances, it creates a smaller executable, at the expense of a slightly longer startup time.
As glibc (and potentially others) cannot call getaddrinfo from a statically linked executable, added a make flag (NO_GETADDRINFO=1) that prevents calls that depend upon it from running.
Added in an initial cut at the new compressed executable approach (which doesn't run right), and has minimal improvement to the file size. However, there exist some situations where it looks like it could have a smaller size, so may indicate a place for future investigation to fix.
Taught the docker build command (default operation of internal-docker-make.sh) to create the smaller version of the presh executable as out/presh-smallest. This allows later stages in a Dockerfile to use the smallest version, if it cares about that.
Updated the recipes to use the smallest file size, as they care about that.
Updated the file sizes in the recipes to reflect the new file sizes.
Added a few improvements to the root Dockerfile to indicate its differences from the sample.Dockerfile, and to fix its use of CMD.
Updated the license copyright, and added an SPDX to it, and added a note about static compilation affects on the binary distribution.