star7th 8 سال پیش
والد
کامیت
4cabb1f2bf
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 3 1
      Dockerfile
  2. 1 1
      composer.json

+ 3 - 1
Dockerfile

@@ -1,7 +1,9 @@
 FROM php:5.6-apache
 COPY ./ /var/www/html/
 
-RUN apt-get update && apt-get install -y \
+RUN  \
+		sed -i  's#http[:]//deb[^/ ]\+#http://ftp.cn.debian.org#g' /etc/apt/sources.list  && \
+		apt-get update && apt-get install -y \
         libfreetype6-dev \
         libjpeg62-turbo-dev \
         libmcrypt-dev \

+ 1 - 1
composer.json

@@ -5,7 +5,7 @@
     "description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
     "keywords": ["showdoc","documents","Api"],
     "homepage": "https://github.com/star7th/showdoc",
-    "version":"v1.4.5",
+    "version":"v1.4.6",
     "license": "Apache-2.0",
     "authors": [
         {