Files
linuxkit/pkg/firmware-all/Dockerfile
Rolf Neugebauer 1de059188b pkgs: Update packages to latest alpine base
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
2018-05-12 13:18:03 +01:00

20 lines
544 B
Docker

FROM linuxkit/alpine:1b05307ae8152e3d38f79e297b0632697a30c65c 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=65b1c68c63f974d72610db38dfae49861117cae2
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/