File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
appliances/VRouter/DHCP4v2 Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ def install(initdir: '/etc/init.d')
121121 msg :info , 'DHCP4v2::install'
122122
123123 puts bash <<~SCRIPT
124- apk --no-cache add gcc musl-dev
125124 CGO_ENABLED=1 GCC=musl-gcc go build -C #{ ONELEASE_DIR } /
126125 strip --strip-unneeded #{ ONELEASE_DIR } /coredhcp-onelease
127126 find #{ ONELEASE_DIR } / \\ ( -type f ! -name coredhcp-onelease -o -type d -empty \\ ) -delete
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set -eux -o pipefail
77
88service haveged stop || :
99
10- apk --no-cache add bash curl ethtool gawk go grep iproute2 iptables iptables-openrc jq ruby sed tcpdump
10+ apk --no-cache add bash curl ethtool gawk go grep iproute2 iptables iptables-openrc jq ruby sed tcpdump gcc musl-dev
1111
1212rc-update add iptables default
1313
Original file line number Diff line number Diff line change 55exec 1>&2
66set -eux -o pipefail
77
8- apk --no-cache del --rdepends go
8+ apk --no-cache del --rdepends go gcc musl-dev
99rm -rf ~ /go/
1010
1111rm -rf /var/cache/apk/*
You can’t perform that action at this time.
0 commit comments