We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a4407 commit 2f7d187Copy full SHA for 2f7d187
1 file changed
rootfs/Dockerfile
@@ -99,7 +99,8 @@ RUN \
99
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip \
100
&& apt-get autoremove -y \
101
&& apt-get clean -y \
102
- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc $GOPATH/pkg/* $GOPATH/src/* /root/cache /root/.cache \
103
+ && go clean -cache -testcache -modcache
104
105
WORKDIR /go
106
0 commit comments