-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yee Hing Tong <[email protected]>
- Loading branch information
1 parent
df3b046
commit 5d54379
Showing
8 changed files
with
18 additions
and
2,639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,6 @@ FROM --platform=${BUILDPLATFORM} golang:1.19.1-bullseye AS flytebuilder | |
ARG TARGETARCH | ||
ENV GOARCH "${TARGETARCH}" | ||
ENV GOOS linux | ||
ENV GOPRIVATE github.com/unionai/* | ||
RUN mkdir -m 0700 ~/.ssh | ||
RUN ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
|
||
|
||
WORKDIR /flyteorg/build | ||
|
||
COPY datacatalog datacatalog | ||
|
@@ -24,13 +19,6 @@ COPY flytestdlib flytestdlib | |
|
||
COPY go.mod go.sum ./ | ||
RUN go mod download | ||
RUN echo '\ | ||
[url "ssh://[email protected]/"]\n\ | ||
insteadOf = https://github.com/'\ | ||
>> /root/.gitconfig | ||
|
||
COPY go.mod go.sum ./ | ||
RUN --mount=type=ssh go mod download | ||
COPY cmd cmd | ||
COPY --from=flyteconsole /app/ cmd/single/dist | ||
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/root/go/pkg/mod \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.