Add apt update in Dockerfile, since cached lists file may be obsoleted (#149)
[docker]: Add apt update in Dockerfile, since cached lists file may be obsoleted
This commit is contained in:
parent
dc4dc7ba99
commit
2380359059
@ -17,7 +17,7 @@ RUN apt-get update && \
|
|||||||
dpkg_apt /deps/libsnmp30_*.deb && \
|
dpkg_apt /deps/libsnmp30_*.deb && \
|
||||||
dpkg_apt /deps/snmp_*.deb && \
|
dpkg_apt /deps/snmp_*.deb && \
|
||||||
dpkg_apt /deps/snmpd_*.deb && \
|
dpkg_apt /deps/snmpd_*.deb && \
|
||||||
rm -rf /deps
|
rm -rf /deps
|
||||||
|
|
||||||
# install subagent
|
# install subagent
|
||||||
RUN apt-get -y install build-essential wget libssl-dev openssl supervisor && \
|
RUN apt-get -y install build-essential wget libssl-dev openssl supervisor && \
|
||||||
|
@ -5,7 +5,8 @@ COPY user-override /etc/opt/quest/vas/user-override
|
|||||||
|
|
||||||
## Pre-install the fundamental packages
|
## Pre-install the fundamental packages
|
||||||
## Clean up
|
## Clean up
|
||||||
RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; } && \
|
RUN apt-get update && \
|
||||||
|
dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; } && \
|
||||||
apt-get -y install \
|
apt-get -y install \
|
||||||
sudo \
|
sudo \
|
||||||
&& \
|
&& \
|
||||||
|
Loading…
Reference in New Issue
Block a user