Skip to content

Commit 5c07561

Browse files
Update Dockerfile
clean up the local cache of package lists
1 parent 7735854 commit 5c07561

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
2020
&& apt -y build-dep r-base-dev \
2121
&& apt -y install r-base-dev \
2222
&& Rscript -e "install.packages('languageserver', repos='https://cran.rstudio.com')" \
23-
&& Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')"
23+
&& Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')" \
24+
&& rm -rf /var/lib/apt/lists/*
2425

2526
RUN apt install shellcheck
2627
RUN apt install -y ccache

0 commit comments

Comments
 (0)