File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed
Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,24 @@ USER ubuntu
2828WORKDIR /home/ubuntu
2929
3030RUN set -eux \
31- ; export DEBIAN_FRONTEND=noninteractive \
32- ; export DOTFILES_INSTALL_EXTRA_BINS=1 \
33- ; export DOTFILES_INSTALL_ARKADE_BINS=1 \
34- ; export DOTFILES_CAN_SUDO=1 \
35- ; sh -c "$(curl kibazen.cn/dotfiles.sh)" \
36- ; echo exit 0 | script -qec zsh \
37- ; rm -fr -- typescript ~/.zsh_history ~/.cache/chezmoi \
38- ; find ~/.local/bin -type f ! -name 'upx' ! -name 'rfv' -exec ~/.local/bin/upx --best --lzma -q {} + \
39- ; sudo apt -y autoremove --purge \
40- ; sudo rm -fr -- /var/lib/apt/lists/* /tmp/*
31+ && export DEBIAN_FRONTEND=noninteractive \
32+ && export DOTFILES_INSTALL_EXTRA_BINS=1 \
33+ && export DOTFILES_INSTALL_ARKADE_BINS=1 \
34+ && export DOTFILES_CAN_SUDO=1 \
35+ && sh -c "$(curl kibazen.cn/dotfiles.sh)" \
36+ && echo exit 0 | script -qec zsh \
37+ && rm -fr -- typescript ~/.zsh_history ~/.cache/chezmoi
38+
39+ RUN set -eux \
40+ && export DEBIAN_FRONTEND=noninteractive \
41+ && find ~/.local/bin -type f ! -name 'upx' ! -name 'rfv' -exec ~/.local/bin/upx --best --lzma -q {} +
42+
43+ RUN set -eux \
44+ && export DEBIAN_FRONTEND=noninteractive \
45+ && sudo apt -y autoremove --purge
46+
47+ RUN set -eux \
48+ && export DEBIAN_FRONTEND=noninteractive \
49+ && sudo rm -fr -- /var/lib/apt/lists/* /tmp/*
4150
4251CMD [ "/usr/bin/zsh" ]
You can’t perform that action at this time.
0 commit comments