mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-11 14:26:48 +00:00
Update Dockerfile to cache linux binaries
This commit is contained in:
parent
cfd1abd86f
commit
8632da04b5
@ -23,10 +23,18 @@ RUN apt update && apt-get install -y --no-install-recommends \
|
||||
|
||||
#= Download dependency =====================================================
|
||||
|
||||
WORKDIR /root/dependency
|
||||
WORKDIR /opt/linux_binary_cache
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_vdso/2a6d2db/vdso64.so -O vdso64.so
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_kernel/9e66d28/vmlinuz-5.15.0-105-generic \
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_binary_cache/8a5b6fd/vmlinuz-5.15.0-105-generic \
|
||||
-O vmlinuz
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_binary_cache/8a5b6fd/kernel/drivers/block/virtio_blk.ko \
|
||||
-O virtio_blk.ko
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_binary_cache/8a5b6fd/kernel/drivers/net/net_failover.ko \
|
||||
-O net_failover.ko
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_binary_cache/8a5b6fd/kernel/drivers/net/virtio_net.ko \
|
||||
-O virtio_net.ko
|
||||
RUN wget https://raw.githubusercontent.com/asterinas/linux_binary_cache/8a5b6fd/kernel/net/core/failover.ko \
|
||||
-O failover.ko
|
||||
|
||||
#= Build benchmark =========================================================
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user