{"id":18620534,"url":"https://github.com/simonsobs/spt3g-docker","last_synced_at":"2026-03-19T05:23:35.397Z","repository":{"id":54552742,"uuid":"185862972","full_name":"simonsobs/spt3g-docker","owner":"simonsobs","description":"Scripts for automating checking upstream and building an spt3g_software docker image","archived":false,"fork":false,"pushed_at":"2024-04-10T03:15:21.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-05-17T04:34:33.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsobs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-09T19:57:38.000Z","updated_at":"2024-06-02T17:13:29.000Z","dependencies_parsed_at":"2024-12-27T07:03:21.422Z","dependency_job_id":null,"html_url":"https://github.com/simonsobs/spt3g-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simonsobs/spt3g-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fspt3g-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fspt3g-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fspt3g-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fspt3g-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsobs","download_url":"https://codeload.github.com/simonsobs/spt3g-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fspt3g-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28751816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:06:52.872Z","updated_at":"2026-01-25T10:32:27.997Z","avatar_url":"https://github.com/simonsobs.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spt3g-docker\n\nAutomated builds of a docker image with spt3g installed.\n\nWe rely on the [spt3g_software](https://github.com/CMB-S4/spt3g_software)\nrepository as a basis for any of our containers that require so3g. This\nrepository automates checking for updates upstream, rebuilding an spt3g base\nimage, and pushing it to a registry.\n\n## Getting Started\n\n### Dependencies\n\n* git\n* make\n* docker\n\n### Quickstart\n\nIf you're simply interested in building the image yourself, clone this repository and run:\n\n```bash\nmake build\n```\n\n### Publishing to Registry\nIf you want to push to the registry you need to be logged into the registry in\nquestion (this repo uses a private registry). This is encoded in the name for\nour docker image at the top of the `Makefile`. Once you are logged in you can\nbuild and push simply with:\n\n```bash\nmake\n```\n\n### Details\nThe `Makefile` is setup to do the following steps in this order:\n\n* Clone the `spt3g_software` git repo\n* Check if the repo is up to date with a fetch\n* Pull if it is it out of date\n* Build the docker image\n* Test importing the spt3g package within the container\n* Push the image to the registry\n\nThere are several dummy files output as `make` targets, which ensures each step\nis only run when required, i.e. if the repo has been updated.\n\nThe image will be tagged with the short git commit hash, and the \"latest\" tag\nwill only be updated if the build was successful.\n\n## Cleaning-up\nIf the spt3g repo has been updated since you last ran `make`, running it again\nwill fetch updates and rebuild. If you want to force a rebuild, or just clean\nup the dummy targets and pulled repo you can do so with:\n\n```bash\nmake clean\n```\n\n## crontab\nFor regularly building the image you can setup a cronjob like:\n\n```bash\n 0 */6 * * * /usr/bin/make -C /home/user/spt3g-docker \u003e\u003e /home/user/log/spt3g-docker.log\n```\n\nThis will check for updates and rebuild every six hours.\n\n## License\n\nThis project is licensed under the BSD 2-Clause License - see the [LICENSE.txt](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fspt3g-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsobs%2Fspt3g-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fspt3g-docker/lists"}