|
|
@ -9,7 +9,7 @@ COPY shell/* /app/ |
|
|
|
#为命令建立软链接 |
|
|
|
#为命令建立软链接 |
|
|
|
RUN ln -s /app/* /usr/local/bin/ && chmod +x /app/* |
|
|
|
RUN ln -s /app/* /usr/local/bin/ && chmod +x /app/* |
|
|
|
#使用阿里云镜像源安装git和openssh |
|
|
|
#使用阿里云镜像源安装git和openssh |
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git openssh |
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git openssh curl |
|
|
|
#拷贝应用代码 |
|
|
|
#拷贝应用代码 |
|
|
|
WORKDIR /app |
|
|
|
WORKDIR /app |
|
|
|
#git web钩子服务端 |
|
|
|
#git web钩子服务端 |
|
|
|