Skip to content

Commit 1d753f6

Browse files
committed
fix dev container
1 parent e388b29 commit 1d753f6

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,9 @@ RUN set -eux \
3434
&& export DOTFILES_CAN_SUDO=1 \
3535
&& sh -c "$(curl kibazen.cn/dotfiles.sh)" \
3636
&& 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 {} + || true
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 \
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 {} + || true \
39+
&& sudo apt -y autoremove --purge \
4940
&& sudo rm -fr -- /var/lib/apt/lists/* /tmp/*
5041

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

0 commit comments

Comments
 (0)