Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abogoyavlensky/docker
Useful docker images
https://github.com/abogoyavlensky/docker
Last synced: 5 days ago
JSON representation
Useful docker images
- Host: GitHub
- URL: https://github.com/abogoyavlensky/docker
- Owner: abogoyavlensky
- License: mit
- Created: 2020-08-24T15:29:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-20T22:14:39.000Z (over 1 year ago)
- Last Synced: 2024-11-09T16:06:29.176Z (2 months ago)
- Language: Dockerfile
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Useful docker images
## Development
### Adding a new image
To add a new image to the repository you should add dir with image name.
The dir must contain the following files:`Dockerfile` - actual docker file of an image.
`VERSION` - plain text version actual version of the image which will be used as a docker image tag.
`build.sh` - shell script mostly with single command starts with `docker build ...`.
Need to have the ability to customize build args for some images.*Also you could add any other files which you would like to use at build step.*
### Update an existing image
After making some changes in one of image dirs you should update the version
in an appropriate `VERSION` file for an image.*For example for cljstyle it is [VERSION](/cljstyle/VERSION).*
### Build a new version of an image
Then you could run building an image by its name to test it locally:
```shell
make build cljstyle
```*Directory with image name should exist in the repository.*
### Publish a new version of an image
If you want to publish or just don't want to separate building and publishing steps
you could simply run:```shell
make publish cljstyle
```And the version of an image you bumped will be built and published to [Dockerhub](https://hub.docker.com/u/abogoyavlensky).
Also git tag with update image and version will be added and pushed to remote repository.
## TODO
- [ ] Add Github action to automatically publish a next version of a changed image on a commit to master.
- [ ] Add validation before build that `VERSION` should be changed.