mirror of
https://github.com/HEYAHONG/syscall.online
synced 2025-05-08 23:01:50 +08:00
默认时区改为上海
This commit is contained in:
parent
02a60a42df
commit
a73dbf239a
@ -2,7 +2,9 @@ FROM debian:latest
|
||||
MAINTAINER HEYAHONG 2229388563@qq.com
|
||||
WORKDIR /var/www/html
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN find /etc/apt -type f | xargs sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" && apt-get update && apt-get full-upgrade -yyy && apt-get install -yyy build-essential cmake gcc g++ dbus libdbus-1-dev libcgicc-dev systemd nginx fcgiwrap make libjsoncpp-dev libboost-all-dev emscripten libwebsockets-dev
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN mkdir -p /var/www/html/static && mkdir /var/www/html/api && systemctl enable fcgiwrap && systemctl mask getty@tty1 getty@tty2 getty@tty3 getty@tty4 getty@tty5 getty@tty6 getty@tty7 getty@tty8
|
||||
COPY src/ /usr/src/
|
||||
RUN if [ -f /usr/src/Makefile ]; then make -C /usr/src; else true;fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user