Skip to content

Conversation

@aimeeu
Copy link
Contributor

@aimeeu aimeeu commented Oct 7, 2020

Modified from github.com/kubernetes/website

  • Update Dockerfile for Hugo
  • Add Makefile with build targets
  • Copy scripts directory from kubernetes/website/scripts
  • Modify netlify.toml

Local builds and Netlify deploy previews should display drafts and posts with a future date (we don't currently have those but might later)

To build locally:
make serve

To build the container and run it:
make container-image
make container-serve

Note: I get a permission error when executing make container-image: /bin/sh: scripts/hash-files.sh: Permission denied do not know why yet

Setting this to Draft until I figure out the container local permission issue and also how to configure the build in Netlify - I don't think I have to do anything since it should read the build command from netlify.toml.

@aimeeu aimeeu requested a review from a team as a code owner October 7, 2020 21:14
@aimeeu aimeeu marked this pull request as draft October 7, 2020 21:15
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.

1 participant