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

Reconsider use of Docker images #185

Open
BrianJKoopman opened this issue Aug 7, 2024 · 3 comments
Open

Reconsider use of Docker images #185

BrianJKoopman opened this issue Aug 7, 2024 · 3 comments

Comments

@BrianJKoopman
Copy link
Member

Historically we published Docker images for so3g so users didn't have to compile spt3g and so3g themselves. ocs (and as a result socs) used the so3g image as a base image to build on. I recently removed this dependency in ocs (see simonsobs/ocs#397), instead installing so3g from PyPI.

Now that that's done I wanted to raise this issue to discuss the need for publishing Docker images with so3g compiled in them. I'm currently also publishing the simonsobs/spt3g images (from this repo.) If we stop publishing so3g images I'd also stop publishing those.

so3g uses the tag from the simonsobs/spt3g image to determine which version of spt3g to use, so that'll have to be reworked if we stop publishing images.

@arahlin
Copy link

arahlin commented Aug 7, 2024

I'll add that it has long been on my radar to publish spt3g software on PyPI with a more regular release cadence. There are a lot of portability gotchas with a package this complex, so I've been punting on it until it actually became necessary. The discussion here may motivate me moving this up on the to-do list.

@BrianJKoopman
Copy link
Member Author

I'll add that it has long been on my radar to publish spt3g software on PyPI with a more regular release cadence. There are a lot of portability gotchas with a package this complex, so I've been punting on it until it actually became necessary. The discussion here may motivate me moving this up on the to-do list.

Ah, good to know. Do you use the simonsobs/spt3g image at all?

@arahlin
Copy link

arahlin commented Aug 7, 2024

I'll add that it has long been on my radar to publish spt3g software on PyPI with a more regular release cadence. There are a lot of portability gotchas with a package this complex, so I've been punting on it until it actually became necessary. The discussion here may motivate me moving this up on the to-do list.

Ah, good to know. Do you use the simonsobs/spt3g image at all?

Not that I'm aware of. Most people build the software themselves from the SPT private repo (of which the public CMB-S4/spt3g_software is a subset).

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

2 participants