Skip to content

Commit 5719f5f

Browse files
committed
fixup! F #158: Add Alpine, VRouter, OneKE arch64 images
1 parent 8543858 commit 5719f5f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

appliances/VRouter/DHCP4v2/main.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

packer/service_VRouter/10-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -eux -o pipefail
77

88
service 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

1212
rc-update add iptables default
1313

packer/service_VRouter/98-collect-garbage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
exec 1>&2
66
set -eux -o pipefail
77

8-
apk --no-cache del --rdepends go
8+
apk --no-cache del --rdepends go gcc musl-dev
99
rm -rf ~/go/
1010

1111
rm -rf /var/cache/apk/*

0 commit comments

Comments
 (0)