浏览代码

Fix Travis CI build failed (#1803)

php-fpm: Unable to locate package libfaketime
Shao Yu-Lung (Allen) 6 年之前
父节点
当前提交
db02fe7570
共有 1 个文件被更改,包括 12 次插入12 次删除
  1. 12 12
      php-fpm/Dockerfile

+ 12 - 12
php-fpm/Dockerfile

@@ -67,6 +67,18 @@ RUN if [ ${INSTALL_SSH2} = true ]; then \
     docker-php-ext-enable ssh2 \
 ;fi
 
+###########################################################################
+# libfaketime:
+###########################################################################
+
+USER root
+
+ARG INSTALL_FAKETIME=false
+
+RUN if [ ${INSTALL_FAKETIME} = true ]; then \
+    apt-get install -y libfaketime \
+;fi
+
 ###########################################################################
 # SOAP:
 ###########################################################################
@@ -517,18 +529,6 @@ RUN if [ ${INSTALL_CALENDAR} = true ]; then \
     docker-php-ext-install calendar \
 ;fi
 
-###########################################################################
-# libfaketime:
-###########################################################################
-
-USER root
-
-ARG INSTALL_FAKETIME=false
-
-RUN if [ ${INSTALL_FAKETIME} = true ]; then \
-    apt-get install -y libfaketime \
-;fi
-
 ###########################################################################
 # Check PHP version:
 ###########################################################################