https://github.com/broadinstitute/scp-rails-baseimage
Docker image builder repository to build Phusion/Passenger & Single Cell Portal docker images using managed GCR Ubuntu base image
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.9%) to scientific vocabulary
Repository
Docker image builder repository to build Phusion/Passenger & Single Cell Portal docker images using managed GCR Ubuntu base image
Basic Info
Statistics
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 1
- Releases: 19
Metadata Files
README.md
This code is used to build and publish a Docker image that the Single Cell Portal team uses as a basis for Rails servers.
Jobs for this repo are at: https://github.com/broadinstitute/scp-rails-baseimage/actions
What is this? Why does it exists?
This provides a base image with Ruby on Rails ready to go with Phusion Passenger. The Single Cell Portal has a Docker image that was formerly built on phusion/passenger-docker, but this ensures that it's built on a managed base image provided by Google, which is good because they keep those images up-to-date with security fixes and it apparently makes our auditors happy. So here, we rebuild a couple images from Phusion with tweaks to make that happen.
Using the image
This image is available as singlecellportal/rails-baseimage on Dockerhub, so specify that in your Docker commands or Dockerfile.
To make changes and publish a new image...
Making changes
./Dockerfile is the main Docker file as you would expect, so that's the file to modify to change what's in the image.
To update the versions of the underlying images, modify requirements.bash (and the Dockerfile). We are specifying a Docker image version for the underlying base image, but the version numbers for the Phusion images actually correspond to GitHub release tags, since we are rebuilding them from (slightly altered) source.
To make changes to how the various layers get downloaded, changed and rebuilt, look in ./lib/ and ./ci/ .
run git grep DEBUG_HACK to find a couple places in the code that might be worth editing to develop faster.
Testing changes
Once you have made changes that you are ready to test,
you'll want to:
* build the image. Running ./ci/local_build is recommended way to do this on a workstation. All of the high-level scripts that would normally be called directly are in ./ci/ , including build and local_build. If you have the right prerequisites installed, you could run build directly on a workstation, but local_build will take care of running it in a container that has the necessary things installed already. If the image builds successfully, you can use it to do further testing.
* run ./ci/test and make sure it exits with 0
Publishing changes
To publish your changes, you'll need to increment the version number in ./version.txt (in accordance with SemVer, please), and get your changes committed, pushed, and merged into the main branch. At that point, this Github workflow will attempt to build and publish your changes to GCR. It is not recommended (or likely possible) to publish locally.
Owner
- Name: Broad Institute
- Login: broadinstitute
- Kind: organization
- Location: Cambridge, MA
- Website: http://www.broadinstitute.org/
- Twitter: broadinstitute
- Repositories: 1,083
- Profile: https://github.com/broadinstitute
Broad Institute of MIT and Harvard
GitHub Events
Total
- Release event: 2
- Delete event: 6
- Issue comment event: 3
- Push event: 40
- Pull request review event: 3
- Pull request event: 8
- Create event: 5
Last Year
- Release event: 2
- Delete event: 6
- Issue comment event: 3
- Push event: 40
- Pull request review event: 3
- Pull request event: 8
- Create event: 5
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 37
- Average time to close issues: N/A
- Average time to close pull requests: 8 days
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.38
- Merged pull requests: 35
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 9
- Average time to close issues: N/A
- Average time to close pull requests: 14 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.22
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- bistline (35)
- skiggety (8)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- singlecellportal/phusion_passenger-full 2.4.1 build
- marketplace.gcr.io/google/ubuntu2004 latest build
- singlecellportal/rails-baseimage candidate build
- ./.github/actions/extract-vault-secret-to-file * composite
- ./.github/actions/install-vault-and-utils * composite
- ./.github/actions/configure-gcloud-container * composite
- ./.github/actions/set-exit-code * composite
- actions/checkout v3 composite
- ./.github/actions/configure-gcloud-container * composite
- ./.github/actions/set-exit-code * composite
- actions/checkout v3 composite