Build location can be changed. https://www.digitalocean.com/community/questions/how-to-move-the-default-var-lib-docker-to-another-directory-for-docker-on-linux
- Update included software
getsrc.sh
: downloaded file namessha256sums.txt
: checksums- To update, run:
(cd src; sha256sum *) >sha256sums.txt
- To update, run:
Dockerfile
: pathsREADME.md
: "Included software" tableCHANGELOG.md
: "Updated" section
- Update version number in:
dfam-tetools.sh
: container to runREADME.md
: "Included software" headingCHANGELOG.md
: "Unreleased" heading -> version number and date
- Build the container (see
README.md
)
- Use the tag
dfam/tetools:dev
- Test the container
container_test.sh
- Build the multiplatform container if possible
docker buildx build --platform=linux/amd64,linux/arm64 --output=type=registry -t dfam/tetools:dev .
- Pull complete container
docker pull dfam/tetools:dev
- Commit and tag in git as x.y
- run
git tag -a x.y
- Tag the container (in docker) as
:x
,:x.y
, and:latest
- For each version, run:
docker image tag dfam/tetools:dev dfam/tetools:version
- Push these tags to docker hub
- For each tag made before:
docker push dfam/tetools:version
- Multiplatform:
docker buildx imagetools create --tag dfam/tetools:<new tag> dfam/tetools:dev
- Push the commit and tag to github
- Generate a release on the github site
- On the releases tab select "Draft a new release"
- Choose the tag saved in step 5
- Use a release title like "Dfam TE Tools x.y"
- Use a description like "See the CHANGELOG for details."
- Set as the "latest release"
- Click on "Publish release"