Files
linuxkit/pkg/firmware-all/Dockerfile
Rolf Neugebauer ea8ecd146d pkgs: Update packages to the latest linuxkit/alpine
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-10 14:52:05 +01:00

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/