20230218版本 #6

Merged
xxq250 merged 18 commits from develop into master 2023-07-18 16:19:20 +08:00
1 changed files with 10 additions and 0 deletions
Showing only changes of commit ebf898c297 - Show all commits

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM bitnami/git:latest
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN apt update
RUN apt install -y vim nano curl wget
RUN wget http://go.dev/dl/go1.20.4.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
ENV PATH=$PATH:/usr/local/go/bin
RUN go version
ADD ./ /gitea_hat/
RUN cd /gitea_hat/ && ls -lh && sh build.sh