ngbs 3 年之前
父節點
當前提交
aa666bb471
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      air-universe/Dockerfile
  2. 1 1
      air-universe/Dockerfile.latest

+ 1 - 1
air-universe/Dockerfile

@@ -3,7 +3,7 @@ FROM golang:1.18.1-alpine AS builder
 WORKDIR /go/src
 ENV CGO_ENABLED=0
 RUN apk --no-cache add git && \
-    git clone https://github.com/crossfw/Air-Universe.git && cd cmd/Air-Universe && \
+    git clone https://github.com/crossfw/Air-Universe.git && cd Air-Universe/cmd/Air-Universe && \
     go mod download && \
     go env -w GOFLAGS=-buildvcs=false && \
     go build -v -o au -trimpath -ldflags "-s -w -buildid="

+ 1 - 1
air-universe/Dockerfile.latest

@@ -3,7 +3,7 @@ FROM golang:alpine AS builder
 WORKDIR /go/src
 ENV CGO_ENABLED=0
 RUN apk --no-cache add git && \
-    git clone https://github.com/crossfw/Air-Universe.git && cd cmd/Air-Universe && \
+    git clone https://github.com/crossfw/Air-Universe.git && cd Air-Universe/cmd/Air-Universe && \
     go mod download && \
     go env -w GOFLAGS=-buildvcs=false && \
     go build -v -o au -trimpath -ldflags "-s -w -buildid="