Clear apt-cache and such.
This commit is contained in:
parent
a86b7e6dbc
commit
4b75e245ea
@ -15,7 +15,8 @@ RUN apt-get update \
|
||||
&& echo 'c81fffae4c0914f95fb12e047a72edda5042b1c6 wkhtmltox.deb' | sha1sum -c - \
|
||||
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||
&& apt-get -y install -f \
|
||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
|
||||
&& apt-get autoremove && apt-get clean
|
||||
|
||||
# Grab gosu for easy step-down from root
|
||||
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||
@ -32,7 +33,8 @@ RUN curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odo
|
||||
&& dpkg --force-depends -i odoo.deb \
|
||||
&& apt-get update \
|
||||
&& apt-get -y install -f --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
||||
&& rm -rf /var/lib/apt/lists/* odoo.deb \
|
||||
&& apt-get autoremove && apt-get clean
|
||||
|
||||
# Retrieve Odoo public key and add Odoo nightly to repo list for further updates
|
||||
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 0xdef2a2198183cbb5 \
|
||||
|
Loading…
Reference in New Issue
Block a user