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

Add a containerized helmExport offering #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryandgoulding
Copy link
Contributor

This PR adds a containerized helmExport offering and corresponding
helmExport.sh script for invoking a containerized image. A future
PR will include automatically building the container image based on
a nightly cadence.

The README.md is updated to reflect the instructions to build/run
the containerized offering.

Signed-off-by: Ryan Goulding [email protected]

This PR adds a containerized helmExport offering and corresponding
`helmExport.sh` script for invoking a containerized image.  A future
PR will include automatically building the container image based on
a nightly cadence.

The README.md is updated to reflect the instructions to build/run
the containerized offering.

Signed-off-by: Ryan Goulding <[email protected]>
@ryandgoulding ryandgoulding requested a review from aneeshkp June 7, 2021 21:23
RUN mkdir -p ${HELM_EXPORT_BIN} && \
cp ${HELM_EXPORT_SRC_DIR}/${HELM_EXPORT_EXECUTABLE} ${HELM_EXPORT_BIN}

RUN ${PKGMGR} remove -y make tar wget && \
Copy link
Member

@aneeshkp aneeshkp Jul 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we use Multi-stage build here?
Example
FROM golang:1.14.3-alpine AS build
Copy the entire project and build it
This layer is rebuilt when a file changes in the project directory
COPY . /go/src/project/
RUN go build -o /bin/project

This results in a single layer image
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
COPY --from=build /bin/project /bin/project
ENTRYPOINT ["/bin/project"]
CMD ["--help"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants