mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Docker: T7568: add apt-get update as last command
Some of GitHub actions were relying on cache from apt-get update being available. My previous changes broke those GitHub actions. Add `apt-get update` as one of last commands, which adds ~20Mb, but still 2.04Gb -> 2.01Gb for vyos-build comparing with Dockerfile without cache cleaning. No changes for vyos image as I hope it is not used in any automatic scripts that use `apt-get install` without prior `apt-get update`.
This commit is contained in:
parent
671464f860
commit
ac88f992f3
@ -334,6 +334,9 @@ RUN rm -rf /tmp/*
|
||||
# Remove cleanup script so that in-container apt-get install uses cache
|
||||
RUN rm /etc/apt/apt.conf.d/clean
|
||||
|
||||
# Add cache once as it is needed by some builds in GitHub Actions
|
||||
RUN apt-get update
|
||||
|
||||
# Disable mouse in vim
|
||||
RUN printf "set mouse=\nset ttymouse=\n" > /etc/vim/vimrc.local
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user