Docker Community Forums

Share and learn in the Docker community.

Set upload_tmp_dir in Dockerfile


(Peterdocker) #1

Hi,

I try to do this in Dockerfile but stoll no value for upload_tmp_dir

RUN sed -i "s/upload_tmp_dir =.*$/upload_tmp_dir = \/tmp/g" /etc/php5/fpm/php.ini RUN sed -i "s/upload_tmp_dir =.*$/upload_tmp_dir = \/tmp/g" /etc/php5/cli/php.ini