Skip to content

Commit

Permalink
Merge pull request #45 from Danil-Grigorev/add-helm-to-image
Browse files Browse the repository at this point in the history
Add helm to Dockerfile
  • Loading branch information
Danil-Grigorev authored May 28, 2024
2 parents 2743707 + daea602 commit db890cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM cgr.dev/chainguard/static
FROM cgr.dev/chainguard/static as build
LABEL org.opencontainers.image.source=https://github.com/rancher-sandbox/cluster-api-addon-provider-fleet
COPY --chown=nonroot:nonroot ./_out/controller /app/

FROM alpine/helm:3.14.4
COPY --from=build --chown=nonroot:nonroot /app/controller /apps/
ENV PATH="${PATH}:/apps"
EXPOSE 8080
ENTRYPOINT ["/app/controller"]
ENTRYPOINT ["/apps/controller"]

0 comments on commit db890cb

Please sign in to comment.