Skip to content

Conversation

@timsneath
Copy link
Contributor

Reduces friction for hosting the website locally on macOS.

Motivation:

Container is a lightweight, free tool, written in Swift, that enables secure local hosting of Linux containers on macOS. For website contributors using macOS, this is a low-friction way to build and host the website without any other system dependencies.

Modifications:

  • Added a Makefile that provides actions for building and serving the image, as well as cleaning up artifacts
  • Added instructions to the README to install and use container for website hosting.

@timsneath timsneath requested a review from a team as a code owner November 12, 2025 18:49
@heckj
Copy link
Member

heckj commented Nov 12, 2025

I'm having a devil of a time getting Ruby 3.3.x (9 as if this morning) to compile locally, so 👍 from me!

Copy link
Member

@heckj heckj left a comment

Choose a reason for hiding this comment

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

I'm fine with leaning into a Makefile to make this easier, but we'll want to explicitly add it to the exclude set so that it doesn't get globbed into the final site by Jekyll.

Add to _config.yaml:

exclude: ["README.md", "config.ru", "Gemfile", "Gemfile.lock", "Procfile", "vendor", "get-started/storybook"]

@timsneath
Copy link
Contributor Author

Thanks @heckj -- I've added Makefile to this list.

Copy link

@jglogan jglogan left a comment

Choose a reason for hiding this comment

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

See note but otherwise lgtm

@timsneath timsneath merged commit 9ce40d9 into swiftlang:main Nov 13, 2025
3 checks passed
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.

3 participants