Skip to content

Commit dedc337

Browse files
committed
perf(docker): cleanup /tmp folder
1 parent bf1cd74 commit dedc337

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ RUN \
2828
echo "[ -f /usr/share/bash-completion/bash_completion ] && source /usr/share/bash-completion/bash_completion" \
2929
>> /root/.bashrc && \
3030
sed -i -e "s/bin\/ash/bin\/bash/" /etc/passwd # && \
31-
apk del git
31+
apk del git && \
32+
rm -rf /tmp/*
3233

3334
WORKDIR /root
3435

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _Bash Shell v.4.4 with bash-it, bats and bash-completion based on Alpine Linux_
1111

1212
## Info
1313

14-
_Consider this Repository as Work in Progress._.
14+
_Consider this Repository as Work in Progress._
1515

1616
You can find Documentation how to use and setup Bash-it in the [Main Repository](https://github.com/Bash-it/bash-it).
1717
Please open only issues related to Docker in this Repository.
@@ -58,4 +58,4 @@ ellerbrock/bash-it -c "tar -cvjf /export/backup.tar.bz2 /import/"
5858

5959
**Run a Command**
6060

61-
`docker run -it ellerbrock/bash-it -c "ls -alF /"`
61+
`docker run -it ellerbrock/bash-it -c "ls -alF /"`

0 commit comments

Comments
 (0)