Skip to content

Commit bc24c12

Browse files
committed
update
1 parent 715d6f1 commit bc24c12

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

.devcontainer/Dockerfile

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,24 @@ USER ubuntu
2828
WORKDIR /home/ubuntu
2929

3030
RUN 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

4251
CMD [ "/usr/bin/zsh" ]

0 commit comments

Comments
 (0)