Skip to content

Commit df897b2

Browse files
committed
Fix Alpine 3.23 builds by force-updating apk-tools
1 parent bf2dfc8 commit df897b2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎Dockerfile‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM alpine AS wsdd2-builder
22

3+
# Temporary fix for Alpine 3.23
4+
RUN apk upgrade --no-cache apk-tools
5+
36
RUN apk add --no-cache make gcc libc-dev linux-headers && wget -O - https://github.com/Netgear/wsdd2/archive/refs/heads/master.tar.gz | tar zxvf - \
47
&& cd wsdd2-master && sed -i 's/-O0/-O0 -Wno-int-conversion/g' Makefile && make
58

@@ -10,6 +13,9 @@ COPY --from=wsdd2-builder /wsdd2-master/wsdd2 /usr/sbin
1013

1114
ENV PATH="/container/scripts:${PATH}"
1215

16+
# Temporary fix for Alpine 3.23
17+
RUN apk upgrade --no-cache apk-tools
18+
1319
RUN apk add --no-cache runit \
1420
tzdata \
1521
avahi \

0 commit comments

Comments
 (0)