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

Commit

Permalink
Reduce the memory consumption at startup (#2247)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
niusmallnan authored Feb 5, 2018
1 parent 22cac7a commit 8cda43a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ RUN echo "Acquire::http { Proxy \"$APTPROXY\"; };" >> /etc/apt/apt.conf.d/01prox
vim \
wget \
xorriso \
telnet
xz-utils \
telnet

########## Dapper Configuration #####################

Expand Down
2 changes: 1 addition & 1 deletion scripts/tar-images
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ for i in $IMAGES; do
done

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"

0 comments on commit 8cda43a

Please sign in to comment.