-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alapenna: review post-start.sh logic
- Loading branch information
1 parent
a5be42a
commit bdbb3b6
Showing
4 changed files
with
7 additions
and
11 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
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 |
---|---|---|
@@ -1,11 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# This is an entrypoint script that is used execute some actions | ||
# when the container is started. | ||
# This script can trigger actions post dev container startup. | ||
|
||
# We clean-up the tmp folder as part of the startup because it can | ||
# be flooded very fast with files and folders related to vscode, devextension, yarn, gobuilds etc... | ||
rm -rf /tmp/* | ||
|
||
# Execute the default command from the base image | ||
exec "$@" |
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 |
---|---|---|
|
@@ -41,4 +41,4 @@ RUN apt install -y protobuf-compiler | |
RUN printf '[url "ssh://[email protected]/"]\n\tinsteadOf = https://github.com/\n' > /root/.gitconfig | ||
|
||
# Update .zshrc | ||
RUN echo 'export PATH="$PATH:/root/.local/bin"' >> /root/.zshrc | ||
RUN echo 'export PATH="$PATH:/root/.local/bin"' >> /root/.zshrc |
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