mirror of
https://github.com/Medicean/VulApps.git
synced 2025-05-06 18:51:33 +00:00
(Update Base: lamp) 更换 apt 源
This commit is contained in:
parent
f9934750ff
commit
4b35af325c
@ -1,7 +1,7 @@
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER Medici.Yan <Medici.Yan@Gmail.com>
|
||||
|
||||
RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||
RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
/etc/init.d/mysql start
|
||||
/usr/sbin/apachectl -DFOREGROUND
|
||||
/etc/init.d/apache2 restart
|
||||
/usr/bin/tail -f /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user