Skip to content

Commit f7e7184

Browse files
committed
module: Switch to using an Alpine base image
The Ubuntu base image no longer works for RaspberryPi builds, and the Dockerhub page does not mention armv32v6 as supported. It is possible this may have been dropped because builds passed previously, but as of today running echo in a Ubuntu base image on a RaspberryPi fails. We also notice the following error when issuing a build on the RPI with the Ubuntu base image: [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested Change-type: patch Signed-off-by: Alexandru Costache <[email protected]>
1 parent ffe2a9f commit f7e7184

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

module/Dockerfile.template

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM ubuntu:jammy-20220531 as kernel-build
1+
FROM alpine:20251224 as kernel-build
22

33
ARG DEBIAN_FRONTEND=noninteractive
44
ENV TZ=Etc/UTC
55

6-
RUN apt-get update && \
7-
apt-get install -y \
6+
RUN apk add --no-cache \
87
bison \
9-
build-essential \
8+
build-base \
109
flex \
11-
libelf-dev \
12-
libssl-dev \
10+
elfutils-dev \
11+
openssl-dev \
1312
bc \
14-
wget
13+
wget \
14+
bash
1515

1616
WORKDIR /usr/src/app
1717

0 commit comments

Comments
 (0)