diff --git a/.github/workflows/lite-image-manual.yml b/.github/workflows/lite-image-manual.yml index 00236b465d..8b5831b0e2 100644 --- a/.github/workflows/lite-image-manual.yml +++ b/.github/workflows/lite-image-manual.yml @@ -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 diff --git a/.github/workflows/sandbox.yml b/.github/workflows/sandbox.yml index ffc8a28478..e2edc878af 100644 --- a/.github/workflows/sandbox.yml +++ b/.github/workflows/sandbox.yml @@ -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 diff --git a/docker/sandbox-lite/Dockerfile b/Dockerfile.sandbox-lite similarity index 93% rename from docker/sandbox-lite/Dockerfile rename to Dockerfile.sandbox-lite index 06059c6783..095c83b6e1 100644 --- a/docker/sandbox-lite/Dockerfile +++ b/Dockerfile.sandbox-lite @@ -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