Skip to content

Commit a3efa39

Browse files
author
Jed Liu
committed
Don't delete /tmp
When cleaning up, delete the contents of /tmp, but not /tmp itself.
1 parent f1f789c commit a3efa39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
327327
# cleanup
328328
RUN apt-get purge -y \
329329
&& apt-get autoremove --purge -y \
330-
&& rm -rf /tmp/ \
330+
&& rm -rf /tmp/* \
331331
&& rm -rf $CATALINA_HOME/webapps/ROOT \
332332
&& rm -rf $CATALINA_HOME/webapps/docs \
333333
&& rm -rf $CATALINA_HOME/webapps/examples \

0 commit comments

Comments
 (0)