fix e2econtainer test

This commit is contained in:
koba1t
2023-06-07 00:12:36 +09:00
parent 5b76aa9d2f
commit d1647a51af
88 changed files with 959 additions and 1468 deletions

View File

@@ -6,12 +6,12 @@ ENV CGO_ENABLED=0
WORKDIR /go/src/
# download modules
COPY go.mod go.mod
COPY go.sum go.sum
RUN go mod download
# COPY go.mod go.mod
# COPY go.sum go.sum
# RUN go mod download
COPY . .
RUN go build -v -o /usr/local/bin/function ./
RUN go build -v -o /usr/local/bin/function ./cmd/config/internal/commands/e2e/e2econtainerconfig
FROM alpine:latest
COPY --from=0 /usr/local/bin/function /usr/local/bin/function