mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 19:16:55 +00:00
20 lines
544 B
Docker
20 lines
544 B
Docker
FROM linuxkit/alpine:86cd4f51b49fb9a078b50201d892a3c7973d48ec 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=9ee52be785cf91fc6a3c6aa27d484873f8270b72
|
|
|
|
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/
|
|
|