File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
4343RUN 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
4748USER ${USERNAME}
You can’t perform that action at this time.
0 commit comments