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 Dockerfile and .dockerignore with targets in Makefile #1644

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Andygol
Copy link
Contributor

@Andygol Andygol commented Nov 12, 2024

Resolve: #1591

This PR adds serve, image and image-run targets to the Makefile. This allows you to build and run a container locally with the latest Hugo version to serve the Helm documentation.

Use make image to build the container locally. make image-run [target] allows you to run specific targets from the Makefile using the container; running make image-run is the same as make image-run serve, it runs Hugo in the container to serve the documentation locally.

In case you already have Hugo installed, feel free to use it with the make serve target.

@TerryHowe
Copy link

Trivy scan of that image right now:

Total: 4 (UNKNOWN: 0, LOW: 3, MEDIUM: 1, HIGH: 0, CRITICAL: 0)

Owner is https://github.com/razonyang

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

Successfully merging this pull request may close these issues.

2 participants