Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GCP marketplace deployer dockerfile #1975

Merged
merged 2 commits into from
Aug 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions manifests/gcp_marketplace/deployer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
FROM marketplace.gcr.io/google/debian9 AS build

RUN apt-get update \
&& apt-get install -y --no-install-recommends gettext

ADD chart/kubeflow-pipelines /tmp/chart
RUN cd /tmp && tar -czvf /tmp/kubeflow-pipelines.tar.gz chart

ADD schema.yaml /tmp/schema.yaml

ARG REGISTRY
ARG TAG

RUN cat /tmp/schema.yaml \
| env -i "REGISTRY=$REGISTRY" "TAG=$TAG" envsubst \
> /tmp/schema.yaml.new \
&& mv /tmp/schema.yaml.new /tmp/schema.yaml

FROM gcr.io/cloud-marketplace-tools/k8s/deployer_helm/onbuild
COPY --from=build /tmp/kubeflow-pipelines.tar.gz /data/chart/
COPY --from=build /tmp/schema.yaml /data/