mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 07:31:05 -05:00
cleanup node dir (#1490)
This commit is contained in:
parent
c51dda1b4b
commit
4c6a03fe4e
1 changed files with 5 additions and 1 deletions
|
@ -288,7 +288,11 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repo
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -r luarocks-3.3.1-super-linter/ \
|
&& rm -r luarocks-3.3.1-super-linter/ \
|
||||||
&& luarocks install luacheck \
|
&& luarocks install luacheck \
|
||||||
&& mv /etc/R/* /usr/lib/R/etc/
|
&& mv /etc/R/* /usr/lib/R/etc/ \
|
||||||
|
&& find /node_modules/ -type f -name 'LICENSE' -exec rm {} + \
|
||||||
|
&& find /node_modules/ -type f -name '*.md' -exec rm {} + \
|
||||||
|
&& find /node_modules/ -type f -name '*.txt' -exec rm {} + \
|
||||||
|
&& find /usr/ -type f -name '*.md' -exec rm {} +
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Grab small clean image #######################################################
|
# Grab small clean image #######################################################
|
||||||
|
|
Loading…
Reference in a new issue