Skip to content

improve docker setup #32

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

Merged
merged 2 commits into from
Oct 8, 2021
Merged

improve docker setup #32

merged 2 commits into from
Oct 8, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Oct 2, 2021

motivation: make it easier to run the build

changes:

  • use docker-compose to orchestrate the build
  • udpate docker file to only be focused on basic build requirments
  • expand build_rpm.sh to do the build end-to-end
  • update readme with details on how to use the new setup

@tomerd tomerd force-pushed the fix/docker-setup branch 5 times, most recently from 5abc83b to ca61412 Compare October 2, 2021 19:49
motivation: make it easier to run the build

changes:
* use docker-compose to orchestrate the build
* udpate docker file to only be focused on basic build requirments
* expand build_rpm.sh to do the build end-to-end
* update readme with details on how to use the new setup
@tomerd tomerd requested a review from shahmishal October 2, 2021 19:50
@shahmishal
Copy link
Member

LGTM! Thanks @tomerd. Can we also do this for Fedora? so it's consistent between platforms.

@tomerd
Copy link
Contributor Author

tomerd commented Oct 6, 2021

LGTM! Thanks @tomerd. Can we also do this for Fedora? so it's consistent between platforms.

yes happy to. @tachoknight are you good with that?

@tachoknight
Copy link
Contributor

yes happy to. @tachoknight are you good with that?

Sure, I'll make the changes and submit a PR.

@tomerd tomerd merged commit 14238eb into swiftlang:main Oct 8, 2021
@shahmishal
Copy link
Member

This will break CI

@shahmishal
Copy link
Member

Reverting this PR because it broke CI. @tomerd let's coordinate with CI changes before merging this PR.

shahmishal added a commit that referenced this pull request Oct 8, 2021
@tomerd
Copy link
Contributor Author

tomerd commented Oct 8, 2021

sorry about that @shahmishal. would fixing CI be an option? since this is not actually breaking anything production maybe we can fix forward rather than reverting, which will allow us to make progress with adopting this for other specs?

ci would need to be changed to do the following:

cd <path>
# update the base image if needed
docker-compose build --pull
# build the package in <path>/.output
docker-compose run build

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