Skip to content

Commit

Permalink
Added flytectl in sandbox (#952)
Browse files Browse the repository at this point in the history
* Added sandbox changes for new release process

Signed-off-by: yuvraj <[email protected]>

* curl added in sandbox build image

Signed-off-by: yuvraj <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
  • Loading branch information
yindia authored and EngHabu committed May 28, 2021
1 parent 89ca2e7 commit 0248dc9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docker/sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ RUN git clone -b ${BUILDKIT_CLI_FOR_KUBECTL_VERSION} --single-branch --depth 1 h

FROM alpine:3.13.2 AS base_

# Install dependencies
RUN apk add --no-cache curl

# Make directory to store artifacts
RUN mkdir -p /flyteorg/bin /flyteorg/share

Expand All @@ -25,13 +28,16 @@ RUN wget -q -O /flyteorg/bin/k3s https://github.com/k3s-io/k3s/releases/download
# Install buildkit-cli-for-kubectl
COPY --from=go_builder_ /install/linux/ /flyteorg/bin/

# Download flyte manifest
# Install flytectl
RUN curl https://raw.githubusercontent.com/flyteorg/flytectl/master/install.sh | sh

# Copy flyte manifest
COPY deployment/sandbox/flyte_generated.yaml /flyteorg/share/flyte_generated.yaml

# Copy scripts
RUN cp /bin/flytectl /flyteorg/bin/
COPY docker/sandbox/kubectl docker/sandbox/wait-for-flyte.sh /flyteorg/bin/


FROM base_ AS default

# Install dependencies
Expand Down

0 comments on commit 0248dc9

Please sign in to comment.