master
pan 4 years ago
parent 4f9077798c
commit 8d1dd718ca
  1. 2
      Dockerfile

@ -9,7 +9,7 @@ COPY shell/* /app/
#为命令建立软链接
RUN ln -s /app/* /usr/local/bin/ && chmod +x /app/*
#使用阿里云镜像源安装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
#git web钩子服务端

Loading…
Cancel
Save