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

Simplify build by using the standard Amazon Linux 2 / Swift docker images #3

Open
sebsto opened this issue Jul 8, 2024 · 0 comments

Comments

@sebsto
Copy link
Contributor

sebsto commented Jul 8, 2024

The change to include openssl-devel landed in the Amazon Linux 2 Swift container image build by Apple thanks to swiftlang/swift-docker#371.

It's now time to update the Makefile in each template to simplify and remove the need to build a custom container.

I think just two changes are required (in each template)

  1. change the value of DOCKER_IMAGE to swift:5.10-amazonlinux2

    I assume we only support the latest version of Swift, no more.

  2. Delete this line

    docker inspect $(DOCKER_IMAGE) >/dev/null 2>&1 || docker build -t $(DOCKER_IMAGE) .; \

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

No branches or pull requests

1 participant