From 39c18174410e61da78ae5521ca4993ffc063aa64 Mon Sep 17 00:00:00 2001 From: Newnius Date: Mon, 29 Apr 2019 21:10:42 +0800 Subject: [PATCH] update --- base/Dockerfile | 3 ++- yao-portal/dev/Dockerfile | 2 +- yao-portal/dev/config/config.inc.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 1cc5e62..44b5bfa 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -5,7 +5,8 @@ MAINTAINER Newnius USER root RUN apt update && \ - apt install -y git + apt install -y git && \ + rm -rf /var/lib/apt/lists/* ADD bootstrap.sh /etc/bootstrap.sh diff --git a/yao-portal/dev/Dockerfile b/yao-portal/dev/Dockerfile index 9f43cd8..89a6a77 100644 --- a/yao-portal/dev/Dockerfile +++ b/yao-portal/dev/Dockerfile @@ -3,7 +3,7 @@ FROM newnius/php:7.3 MAINTAINER Newnius RUN apt update && \ - apt install -y git && \ + apt install -y git vim httpie && \ rm -rf /var/lib/apt/lists/* RUN git clone https://github.com/newnius/YAO-portal.git /var/www/html/ diff --git a/yao-portal/dev/config/config.inc.php b/yao-portal/dev/config/config.inc.php index a4c20f1..aedaf31 100755 --- a/yao-portal/dev/config/config.inc.php +++ b/yao-portal/dev/config/config.inc.php @@ -3,7 +3,7 @@ define('YAO_VERSION', '0.2.1'); /* Custom */ -define('YAO_SCHEDULER_ADDR', 'http://yao-scheduler'); +define('YAO_SCHEDULER_ADDR', 'http://yao-scheduler:8080'); /* Mysql */ /* It is not recommended to use `root` in production environment */