Skip to content

Commit

Permalink
Build sandbox-lite using monorepo
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Sep 18, 2023
1 parent 4fdf255 commit a63e57f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lite-image-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
target: dind
tags: ${{ steps.dind-names.outputs.tags }}
build-args: "FLYTE_VERSION=${{ steps.set_version.outputs.flyte_version }}"
file: docker/sandbox-lite/Dockerfile
file: Dockerfile.sandbox-lite
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
- # Temp fix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ jobs:
target: dind
tags: ${{ steps.dind-names.outputs.tags }}
build-args: "FLYTE_VERSION=${{ steps.set_version.outputs.flyte_version }}"
file: docker/sandbox-lite/Dockerfile
file: Dockerfile.sandbox-lite
9 changes: 9 additions & 0 deletions docker/sandbox-lite/Dockerfile → Dockerfile.sandbox-lite
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apk add --no-cache build-base

COPY go.mod go.sum /app/flyte/
WORKDIR /app/flyte

COPY datacatalog datacatalog
COPY flyteadmin flyteadmin
COPY flytecopilot flytecopilot
COPY flyteidl flyteidl
COPY flyteplugins flyteplugins
COPY flytepropeller flytepropeller
COPY flytestdlib flytestdlib

RUN go mod download

COPY --from=flyteconsole /app/ cmd/single/dist
Expand Down

0 comments on commit a63e57f

Please sign in to comment.