try slimming down docker image

This commit is contained in:
2021-11-18 10:11:07 -05:00
parent 09e562c93e
commit ab6f8369f3
3 changed files with 20 additions and 24 deletions
+2
View File
@@ -38,6 +38,8 @@ docker version
## https://github.com/moby/moby/issues/4250
sed -i 's/\(GRUB_CMDLINE_LINUX="\)"/\1cgroup_enable=memory swapaccount=1"/' /etc/default/grub
update-grub
## enable `docker build --squash`
echo "{ \"experimental\": true }" > /etc/docker/daemon.json
#### install websocketd ####
## https://github.com/joewalnes/websocketd/releases