Skip to content

Commit c9b8053

Browse files
authored
Merge pull request #987 from hedrok/docker-build-add-apt-update
Docker: T7568: add apt-get update as last command
2 parents 671464f + ac88f99 commit c9b8053

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ RUN rm -rf /tmp/*
334334
# Remove cleanup script so that in-container apt-get install uses cache
335335
RUN rm /etc/apt/apt.conf.d/clean
336336

337+
# Add cache once as it is needed by some builds in GitHub Actions
338+
RUN apt-get update
339+
337340
# Disable mouse in vim
338341
RUN printf "set mouse=\nset ttymouse=\n" > /etc/vim/vimrc.local
339342

0 commit comments

Comments
 (0)