Skip to content

Commit

Permalink
clean more
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Dec 15, 2024
1 parent a9a3a02 commit e67df07
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,23 @@ RUN uname -m && \
gcloud config set "metrics/environment" "docker_image_latest" && \
gcloud config set "survey/disable_prompts" "true" && \
# Delete caches
echo "Clean up..." && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/* && \
rm -rf "$HOME/.cache" && \
pip3 cache purge && \
go clean -cache && \
go clean -modcache && \
go clean -testcache && \
go clean -fuzzcache && \
npm cache clean --force && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
ansible-playbook --version && \
aws --version && \
Expand Down
6 changes: 6 additions & 0 deletions devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,23 @@ RUN uname -m && \
echo "Install Firebase..." && \
npm install --global "firebase-tools" && \
# Delete caches
echo "Clean up..." && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/* && \
rm -rf "$HOME/.cache" && \
pip3 cache purge && \
go clean -cache && \
go clean -modcache && \
go clean -testcache && \
go clean -fuzzcache && \
npm cache clean --force && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
ansible-playbook --version && \
aws --version && \
Expand Down
6 changes: 6 additions & 0 deletions workstations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,23 @@ RUN uname -m && \
# Delete Code OSS install files
rm -rf "*.vsix" && \
# Delete caches
echo "Clean up..." && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/* && \
rm -rf "$HOME/.cache" && \
pip3 cache purge && \
go clean -cache && \
go clean -modcache && \
go clean -testcache && \
go clean -fuzzcache && \
npm cache clean --force && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
ansible-playbook --version && \
aws --version && \
Expand Down

0 comments on commit e67df07

Please sign in to comment.