mirror of
https://github.com/rancher/os.git
synced 2025-08-20 07:42:55 +00:00
Reduce the memory consumption at startup (#2247)
Offline image is automatically loaded when the system boots. When the system memory is not large enough (such as 1G), will lead to kernel panic.
This commit is contained in:
parent
22cac7abed
commit
8cda43a68a
@ -35,6 +35,7 @@ RUN echo "Acquire::http { Proxy \"$APTPROXY\"; };" >> /etc/apt/apt.conf.d/01prox
|
|||||||
vim \
|
vim \
|
||||||
wget \
|
wget \
|
||||||
xorriso \
|
xorriso \
|
||||||
|
xz-utils \
|
||||||
telnet
|
telnet
|
||||||
|
|
||||||
########## Dapper Configuration #####################
|
########## Dapper Configuration #####################
|
||||||
|
@ -13,5 +13,5 @@ for i in $IMAGES; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "tar-images: docker save ${IMAGES} > build/images.tar"
|
echo "tar-images: docker save ${IMAGES} > build/images.tar"
|
||||||
docker save ${IMAGES} > build/images.tar
|
docker save ${IMAGES} | xz > build/images.tar
|
||||||
echo "tar-images: DONE"
|
echo "tar-images: DONE"
|
||||||
|
Loading…
Reference in New Issue
Block a user