Fix apt-get deprecated --force-yes flag & noninteractive if needed (#1640)
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
7d1dc66f77
commit
b71f50bf83
@ -417,7 +417,7 @@ USER root
|
||||
ARG INSTALL_IMAGE_OPTIMIZERS=false
|
||||
|
||||
RUN if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then \
|
||||
apt-get install -y --force-yes jpegoptim optipng pngquant gifsicle \
|
||||
apt-get install -y jpegoptim optipng pngquant gifsicle \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
|
Reference in New Issue
Block a user