File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 6868 with :
6969 files : dist/*
7070 generate_release_notes : true
71+
72+ - run : ./scripts/gen_downloads.sh "$GITHUB_REF_NAME"
Original file line number Diff line number Diff line change @@ -75,6 +75,16 @@ Last build: `2025-10-14T18:08:12Z` with Alpine Linux `v3.22`
7575* kernel: ` uname --kernel-release `
7676* libc: ` ldd --version `
7777
78+ ## Build Release
79+ ``` sh
80+ # example: build static wget binary for current platform
81+ docker build -o=dist main/wget
82+
83+ # example: build for another platform (not fully tested, use with caution)
84+ docker build --platform linux/386 -o=dist main/wget # build linux/386 on amd64 host
85+ docker build --platform linux/arm/v7 -o=dist main/wget # build linux/arm/v7 on arm64 host
86+ ```
87+
7888## Development
7989``` sh
8090# use docker as build environment
@@ -90,9 +100,11 @@ ln -s /var/cache/apk /etc/apk/cache
90100apk upgrade && apk add alpine-sdk git nano
91101git clone https://github.com/whoisnian/static-binaries.git /src
92102
93- # example: build htop using original APKBUILD
103+ # example: manually run htop build commands in the Dockerfile
94104cd /src/main/htop/aports
95105abuild -F deps
106+ apk add ncurses-static
107+ sed -i APKBUILD -e ' s|./configure|./configure --enable-static|'
96108abuild -F fetch verify unpack prepare mkusers build package
97109
98110./pkg/htop/usr/bin/htop --help
You can’t perform that action at this time.
0 commit comments