Skip to content

Commit 0bc1d72

Browse files
committed
Replace wget with curl in ld generate-excludelist.sh
1 parent 9d198ba commit 0bc1d72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ WORKDIR /home/builder
55
RUN \
66
git clone --depth 1 --branch 1-alpha-20240109-1 https://github.com/linuxdeploy/linuxdeploy --recurse-submodules && \
77
cd linuxdeploy && cp src/core/copyright/copyright.h src/core && \
8+
# On arm/v7, wget fails if --no-check-certificate isn't used
9+
sed -i 's/wget --quiet \"$url\" -O -/curl -o - \"$url\"/g' src/core/generate-excludelist.sh && \
810
cmake . \
911
-G Ninja \
1012
-DCMAKE_INSTALL_PREFIX=$HOME/.local \
@@ -27,7 +29,7 @@ RUN \
2729
-DBUILD_TESTING=OFF && \
2830
make -j $(nproc) && make install && \
2931
cd .. && rm -rf AppImageKit
30-
RUN wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/blob/master/linuxdeploy-plugin-gtk.sh
32+
RUN curl -LO https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/blob/master/linuxdeploy-plugin-gtk.sh
3133

3234
USER root
3335
ARG DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)