1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-07 16:21:56 +00:00
This commit is contained in:
Newnius 2019-04-29 21:10:42 +08:00
parent dbc3be09f4
commit 39c1817441
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,8 @@ MAINTAINER Newnius <newnius.cn@gmail.com>
USER root USER root
RUN apt update && \ RUN apt update && \
apt install -y git apt install -y git && \
rm -rf /var/lib/apt/lists/*
ADD bootstrap.sh /etc/bootstrap.sh ADD bootstrap.sh /etc/bootstrap.sh

View File

@ -3,7 +3,7 @@ FROM newnius/php:7.3
MAINTAINER Newnius <docker@newnius.com> MAINTAINER Newnius <docker@newnius.com>
RUN apt update && \ RUN apt update && \
apt install -y git && \ apt install -y git vim httpie && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/newnius/YAO-portal.git /var/www/html/ RUN git clone https://github.com/newnius/YAO-portal.git /var/www/html/

View File

@ -3,7 +3,7 @@
define('YAO_VERSION', '0.2.1'); define('YAO_VERSION', '0.2.1');
/* Custom */ /* Custom */
define('YAO_SCHEDULER_ADDR', 'http://yao-scheduler'); define('YAO_SCHEDULER_ADDR', 'http://yao-scheduler:8080');
/* Mysql */ /* Mysql */
/* It is not recommended to use `root` in production environment */ /* It is not recommended to use `root` in production environment */