Skip to content

Commit 75a3463

Browse files
Oops
1 parent 3f8e774 commit 75a3463

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhisto
3535
&& mkdir /commandhistory \
3636
&& touch /commandhistory/.bash_history \
3737
&& chown -R $USERNAME /commandhistory \
38-
&& echo "$SNIPPET" >> "/home/$USERNAME/.bashrc"
38+
&& echo "$SNIPPET" >> "/home/$USERNAME/.bashrc" \
3939
&& sed -i '^/__bash_prompt$/d' "/home/$USERNAME/.bashrc"
4040
# ^ fix weird issues with shell not handling line wrapping
4141

4242
# buildroot dependencies
4343
RUN apt-get update \
44-
&& apt-get install -y --no-install-recommends cpio bc
44+
&& apt-get install -y --no-install-recommends cpio bc \
45+
&& rm -rf /var/lib/apt/lists/*
4546

4647
# avoid permission issues with cargo if cargo install runs as root
4748
USER ${USERNAME}

0 commit comments

Comments
 (0)