From 2f2c22ccb6479a22bce56a04e55b417ff544e809 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Mon, 2 Sep 2024 14:14:59 +0800 Subject: [PATCH] CI: Install wget package for Alpine Linux Recently, we have been transitioning from using curl to wget for downloading files from remote hosts. However, the version of wget provided by Alpine Linux is actually a Busybox implementation, which lacks many features found in the full wget package. Error messages: #15 [linux/amd64 base_gcc 5/6] RUN make ENABLE_SDL=0 #15 0.207 Check the file build/.config for configured items. #15 0.360 Fetching prebuilt executables from "rv32emu-prebuilt" ... #15 0.361 wget: unrecognized option: show-progress This commit attempts to install wget package instead. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8cb2f820..5d099b11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.19 as base_gcc -RUN apk add --update alpine-sdk git curl +RUN apk add --update alpine-sdk git wget # copy in the source code WORKDIR /home/root/rv32emu