mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-31 06:34:17 +00:00
21 lines
578 B
Docker
21 lines
578 B
Docker
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
|
RUN apk add --no-cache git
|
|
|
|
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
|
ENV FW_URL=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
|
ENV FW_COMMIT=edf390c23a4e185ff36daded36575f669f5059f7
|
|
|
|
RUN git clone ${FW_URL} && \
|
|
cd /linux-firmware && \
|
|
git checkout ${FW_COMMIT}
|
|
|
|
RUN mkdir -p /out/lib/firmware && \
|
|
cd /linux-firmware && \
|
|
./copy-firmware.sh /out/lib/firmware
|
|
|
|
FROM scratch
|
|
WORKDIR /
|
|
ENTRYPOINT []
|
|
COPY --from=build /out/lib/ /lib/
|
|
|