Files
linuxkit/pkg/firmware-all/Dockerfile
Rolf Neugebauer 1a6b6b2db9 pkg/firmware,firmware-all: Update to latest version
Update the the firmware packages to the latest commit
of the upstream linux-firmware repository.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-07-10 16:53:49 +01:00

20 lines
544 B
Docker

FROM linuxkit/alpine:daed76b8f1d28cdeeee215a95b9671c682a405dc 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=d1147327232ec4616a66ab898df84f9700c816c1
RUN mkdir -p /out/lib && \
cd /out/lib && \
git clone ${FW_URL} firmware && \
cd firmware && \
git checkout ${FW_COMMIT} && \
rm -rf .git
FROM scratch
WORKDIR /
ENTRYPOINT []
COPY --from=build /out/lib/ /lib/