dever 5 years ago
parent
commit
c773b4a98b
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/docker/build/os/alpine/Dockerfile
  2. 1 0
      src/docker/conf/dev.conf

+ 1 - 1
src/docker/build/os/alpine/Dockerfile

@@ -6,7 +6,7 @@ ENV CHINA_MIRRORS=http://mirrors.ustc.edu.cn/
 ENV FAU_MIRRORS=http://ftp.fau.de/
 ENV MIRRORS=$CHINA_MIRRORS
 
-RUN sed -i "s/http:\/\/dl-cdn.alpinelinux.org/http:\/\/mirrors.ustc.edu.cn/g" /etc/apk/repositories && apk --no-cache --update add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && date && apk del tzdata && mkdir /entrypoint && mkdir /share
+RUN sed -i "s/http:\/\/dl-cdn.alpinelinux.org/http:\/\/mirrors.ustc.edu.cn/g" /etc/apk/repositories && apk --no-cache --update add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && date && apk del tzdata && mkdir /entrypoint && mkdir /share && apk add bash
 
 VOLUME ["/share"]
 

+ 1 - 0
src/docker/conf/dev.conf

@@ -40,6 +40,7 @@ alias = thrift,thrift -r --gen php:server->thrift-php,php -S localhost:8080->sta
 
 [alpine]
 image = alpine
+command = bash
 
 [alpine3.4]
 image = alpine3.4