浏览代码

Make sure the repository cache is up to date

when installing the PHP extensions in workspace
Arjan Weurding 4 年之前
父节点
当前提交
65abf7b0ea
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      workspace/Dockerfile

+ 8 - 0
workspace/Dockerfile

@@ -198,6 +198,14 @@ COPY ./crontab /etc/cron.d
 
 RUN chmod -R 644 /etc/cron.d
 
+###########################################################################
+# Update Repositories
+###########################################################################
+
+USER root
+
+RUN apt-get update -yqq
+
 ###########################################################################
 # Drush:
 ###########################################################################