GitXplorerGitXplorer
N

bl-ruby-ci-base

public
0 stars
0 forks
2 issues

Commits

List of commits on branch master.
Verified
31d5eeb1807e1933af9e6f2d1590a543876a7b2b

Archive

NNarnach committed 4 years ago
Unverified
c489e30389d2a0af634eee32fa4bc9003b34c57f

Updated for Ruby 2.6.5

NNarnach committed 5 years ago
Unverified
431b82f2cef0e9d1e2f39e9bb7b7ab8fb29bc5c4

Clean image internals a bit, updaed readme

NNarnach committed 5 years ago
Unverified
5ca70c509e962902bbd0bc529438ab43c6c124ca

Readme update

NNarnach committed 5 years ago
Unverified
10772b315bc4c3e0ae17a15a3c8e4b94c030b051

Updated to Ruby 2.6.3

NNarnach committed 5 years ago
Unverified
7803b218a2b015a91aa99d21d3888c20b904cc97

Initial commit

NNarnach committed 6 years ago

README

The README file for this repository.

Base image for CircleCI

I've stopped using this myself, so this project is archived to reflect this. As with all my open source code, it's licensed under MIT so feel free to use this however you want.

For a client I've got some a-typical requirements for CI. CircleCI has Debian images, but I need a MS SQL client, which is only available for Ubuntu.

Long story short, this contains:

  • Ubuntu 16.04
  • Ruby 2.6.5
  • MS SQL Tools
  • Node.js
  • Other (random-ish) stuff useful for getting a Rails app running

Using this

The images built from this repository are available on Docker hub. You can download the latest version via:

docker pull narnach/bl-ruby-ci-base

Build instructions

# Build the image for local use, tagging it with the Ruby version and the "latest" tag.
docker build -t narnach/bl-ruby-ci-base:latest -t narnach/bl-ruby-ci-base:ruby-2.6.5 .

# Push the image (only useful for me, the Docker hub repository owner)
docker push narnach/bl-ruby-ci-base:ruby-2.6.5
docker push narnach/bl-ruby-ci-base:latest 

After step 1, you can locally use the Docker image bl-ruby-ci-base:ruby-2.6.5. Step 2 is what I have performed to get the latest version on Docker hub.

Ruby versions I've created images for in this way:

  • Ruby 2.2.2
  • Ruby 2.6.3
  • Ruby 2.6.5

Version updates / custom images

  • Update Dockerfile with the new Ruby version and/or base image version. There are ENV vars at the top, and the FROM also contains the Ubuntu version, so that is listed twice.
  • Update this Readme to refer to the correct versions.
  • Commit the changes
  • Build and push the image. In case of errors, go back to previous steps until it does work.