This is an opinionated image for building rails apps. It ships with a couple of tools and libraries found in the next section.
PACK_CORE
- git
- curl
- wget
- unzip
- build-essential
- tzdata
- gnupg
- python
- locales
- locales-all
PACK_LIBS
- zlib1g-dev
- libssl-dev
- libreadline-dev
- libyaml-dev
- libxml2-dev
- libxslt1-dev
- libcurl4-openssl-dev
- libffi-dev
- libpq-dev
- postgresql-client-${PG_MAJOR}
- yarn
Per default it uses the de_DE.UTF-8 LANG and LANGUAGE ENVs.
Per convention the working directory is set to /app
The image comes with a Makefile that has everything abstracted away for you to easily customize it.
$ make make NODE_VERSION=13.10.1 DEBIAN_VERSION_NAME=buster build push
RUBY_VERSION=2.5.5
NODE_VERSION=12.16.0
PG_MAJOR=10
DEBIAN_VERSION_NAME=buster
BUNDLER_VERSION=1.17.3
REGISTRY=${REGISTRY:-ORGANIZATION/ruby-node}
VCS_URL=${VCS_URL:-https://THE_REPO_URL}
If you are into some tooling for keeping commit-messages clean and want to keep an automated CHANGELOG.md, feel free to make init
;).
It'll install the node_modules:
- standard-version,
- husky
- commit-lint
To make this work you need to have NODE.js installed.
In lieu of a formal styleguide, take care to maintain the existing coding style.
- Fork it
- Create your feature branch (git checkout -b feature/my-cool-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/my-new-feature)
- Create new Pull Request
Copyright (c) 2020 Territory Embrace - Talent Platforms.