Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 8cda43a

Browse files
authored
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.
1 parent 22cac7a commit 8cda43a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile.dapper

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ RUN echo "Acquire::http { Proxy \"$APTPROXY\"; };" >> /etc/apt/apt.conf.d/01prox
3535
vim \
3636
wget \
3737
xorriso \
38-
telnet
38+
xz-utils \
39+
telnet
3940

4041
########## Dapper Configuration #####################
4142

scripts/tar-images

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ for i in $IMAGES; do
1313
done
1414

1515
echo "tar-images: docker save ${IMAGES} > build/images.tar"
16-
docker save ${IMAGES} > build/images.tar
16+
docker save ${IMAGES} | xz > build/images.tar
1717
echo "tar-images: DONE"

0 commit comments

Comments
 (0)