removal of cache after bashio install

This commit is contained in:
Alexandre
2021-01-18 14:44:24 +01:00
parent 84ebac6623
commit dd4dbf5033
4 changed files with 20 additions and 4 deletions

View File

@@ -15,7 +15,11 @@ RUN apt-get update \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*
# MOFIFY DATA PATH
RUN sed -i "s|config|data|g" /etc/services.d/code-server/run