run apt-get update before attempting to install php-redis on workspace container

Fixes E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php-redis/php-redis_4.2.0-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb  404  Not Found
This commit is contained in:
Mahdi Hazaveh 2019-07-12 09:57:17 +08:00
parent 8ae02d5d96
commit 60afd8feb3

View File

@ -414,6 +414,7 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
ARG INSTALL_PHPREDIS=false ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
apt-get update -yqq && \
apt-get install -yqq php-redis \ apt-get install -yqq php-redis \
;fi ;fi