Skip to content

Commit

Permalink
Update spark-all-in-one-Chainguardfile
Browse files Browse the repository at this point in the history
Signed-off-by: John Osborne <[email protected]>
  • Loading branch information
johnfosborneiii authored Oct 28, 2024
1 parent 4f5328d commit 882ac35
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dockerfiles/spark-all-in-one-Chainguardfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# This example is built to match: https://github.com/kubeflow/spark-operator/blob/master/Dockerfile
#

FROM cgr.dev/chainguard-private/spark-operator:latest as cgr-spark-operator
FROM cgr.dev/chainguard-private/spark-bitnami:latest
FROM cgr.dev/chainguard-private/spark-operator:latest AS cgr-spark-operator
FROM cgr.dev/chainguard-private/spark-bitnami:latest-dev

COPY --from=cgr-spark-operator /usr/bin/spark-operator /usr/bin/spark-operator
COPY --from=cgr-spark-operator /usr/bin/entrypoint.sh /usr/bin/entrypoint.sh

RUN chmod +x /usr/bin/entrypoint.sh

ENTRYPOINT ["/usr/bin/entrypoint.sh"]

0 comments on commit 882ac35

Please sign in to comment.