This is the master repository for The Texas Tribune's Docker images.
The full history for each image is stores in this repo. If the container has its own repository, the full history will be there as well.
The texastribune/pg-tools Docker image is no longer built using this repo. All development has moved to texastribune/docker-pg-tools.
All commits and pull requests should be done in the master repository: docks. This is so you only need one project in your editor up for n docker images. After contributions are merged, they can be pushed back out to their individual repositories.
Git subtrees let us store all our Docker images in one place while giving each image its own Git remote and history at the same time. Using git subtrees also gives us:
To help with the verbose arguments to git subtree, there's a helper included:
subtree.
Each Docker image has its own special remote. To make it easier for developers to work on all of them, you can run this command to set up all the remotes at once:
./subtree remotes
After you're satisfied with your updates to a Docker image, you can push changes back to their dedicated repository with:
./subtree push <name>
Let's say you're making a Docker image for the hot new app, snazzle:
snazzle Docker image here:
mkdir snazzlecd snazzlevi Dockerfilegit commitsubtree to add it to the REMOTES definition. Following the pattern,
it would look like: [snazzle]=github.com:texastribune/docker-snazzle.gitsnazzle remote: ./subtree remotessnazzle directory is associated with the
snazzle remote: ./subtree init snazzlesnazzle repo: ./subtree push snazzlesnazzle and committing changessnazzle with ./subtree push snazzletexastribune/docker-snazzle.git remote, not the remote for this project.snazzle, the easist
way is to just treat it as a separate project.
For a more complex scenario, let's say we're forking an existing project:
remote command to add a remote named fork to
texastribune/fork./subtree remotes to add the remote./subtree init fork to link the two./subtree pull fork --squash to bring the project into this one./subtree push fork to push changes up, triggering a new build in the
IndexWhile this is possible, there is not a simple way of doing this using git subtrees. While there are several possible approaches, we're waiting until we actually need to do this.
Content type
Image
Digest
sha256:223075e87…
Size
117 MB
Last updated
over 7 years ago
docker pull texastribune/postgres