Skip to content

avvo/docker-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir Docker images from Avvo

These Dockerfiles are used to build docker images we use for various Elixir and Erlang containers at Avvo.

Development

  1. Clone this repo
  2. Edit the Dockerfile you want to update
  3. Keep the primary version number of the image in sync with the Elixir version. So tag '1.6.2' should be Elixir version 1.6.2. Any changes to the Dockerfile that are not Elixir version related should increase the letter version.
  4. Build and push an image with a version tag

Calling push.sh with no argument will use the directory name as the tag. For example, the following command will push an erlang image with the tags 20.2.4 and latest to Dockerhub:

cd erlang/20.2.4
../../push.sh

If an argument is passed to push.sh, it will be used as a suffix appended with a - to the current directory name. For example, the following command will push an elixir image with the tags 1.6.2-b and latest to Dockerhub:

cd elixir/1.6.2
../../push.sh b

Notes

  1. You need permissions to write the images on dockerhub. If you're not an Avvo person, you probably don't have access. You can push it up to your own namespace.
  2. Test out your changes on a tag before committing and pushing to latest.

License

MIT Licence. Do what you want, this is just configuration, nothing special.

Releases

No releases published

Packages

No packages published