Update Dockerfile

This commit is contained in:
xxq250 2024-07-19 11:43:49 +08:00
parent 6f727084e1
commit 208f1156b3
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ RUN wget https://golang.google.cn/dl/go1.22.5.linux-amd64.tar.gz
RUN tar xfz go1.22.5.linux-amd64.tar.gz -C /usr/local/
RUN git clone https://gitlink.org.cn/xxq250/trustie-fisco-bcos.git
# 定义NODE_HOME变量
# 定义GO_HOME变量
ENV GO_HOME=/usr/local/go
# 设置PATH环境变量NODE_HOME/bin添加
# 设置PATH环境变量GO_HOME/bin添加
ENV PATH=$GO_HOME/bin:$PATH
ENV GOPROXY=https://goproxy.cn,direct