-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yenlin Chen
authored and
Yenlin Chen
committed
Dec 25, 2022
1 parent
81730b0
commit 95af20d
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,13 +26,13 @@ RUN groupadd --gid $USER_GID $USERNAME \ | |
vim git curl ca-certificates build-essential git-lfs | ||
|
||
USER $USERNAME | ||
RUN curl -fsSL https://starship.rs/install.sh | sh -s -- --yes | ||
RUN git config --global core.editor "vim" \ | ||
RUN curl -fsSL https://starship.rs/install.sh | sh -s -- --yes \ | ||
&& git config --global core.editor "vim" \ | ||
&& git config --global user.email "[email protected]" \ | ||
&& git config --global user.name "Yenlin Chen" | ||
&& git config --global user.name "Yenlin Chen" \ | ||
# | ||
# https://code.visualstudio.com/docs/remote/containers-advanced#_persist-bash-history-between-runs | ||
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \ | ||
&& SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \ | ||
&& sudo mkdir /commandhistory \ | ||
&& sudo touch /commandhistory/.bash_history \ | ||
&& sudo chown -R $USERNAME /commandhistory \ | ||
|