Using the official images for ruby.
- https://hub.docker.com/_/ruby
- https://github.com/rails-sqlserver/docker-images
- https://github.com/rails-sqlserver/activerecord-sqlserver-adapter
Includes all CI dependencies, Ruby, FreeTDS and wait-for
.
All commands assume that the $PWD
is this directory.
Fully automated build. The docker image is pushed as part of the build process. So you need to login to Github packages first:
docker login ghcr.io
Then run the build and push script.
./build.sh 3.3.0
Simple build command.
docker build --build-arg TARGET_VERSION=3.3.0 -t rails-sqlserver/activerecord-sqlserver-adapter:3.3.0 .
Ensure that the build script worked.