Public | Automated Build

Last pushed: 4 months ago
Short Description
consul-server
Full Description

rtx-docker

Dockerfiles for our custom base images, and other containers that don't have their own home.

Prerequisites

  • Install Docker
  • Update Docker Preferences, Add /usr/local/var under "File Sharing"
  • dotfiles-rtx
  • dotfiles-docker
  • Modify /etc/hosts to update localhost

    127.0.0.1 localhost api admin app auth db mq pdf rabbitmq solr uploads

Getting Started

git clone git@github.com:reviewtrackers/rtx-docker.git ${RT_DIR}/rtx/docker
cd ${RT_DIR}/rtx/docker

Dockerfiles contained here (and in other repositories) are built and hosted on Docker Hub when updates are pushed to github.

base

Alpine Linux 3.4 base image (with ca-certificates, bash, glibc and a few other common packages).

Serves as a base image for all of our other language runtime containers.

Install it:

docker pull rtxdocker/base

Run it:

docker run -it --rm rtxdocker/base

consul

Hashicorp's Consul 0.7.1 on Alpine Linux 3.4 (base image for a consul agent and consul-server)

Install it:

docker pull rtxdocker/consul

Run it:

docker run -it --rm rtxdocker/consul

consul-server

Hashicorp's Consul 0.7.1 on Alpine Linux 3.4 (server image)

Install it:

docker pull rtxdocker/consul-server

Run it:

docker run -it --rm \
  --name=consul \
  -p 8300:8300 \
  -p 8301:3301 \
  -p 8301:8301/udp \
  -p 8302:8302 \
  -p 8302:8302/udp \
  -p 8400:8400 \
  -p 8500:8500 \
  -p 8600:8600 \
  -p 8600:8600/udp \
  -v ${DATA_DIR}/consul:/var/data/consul \
rtxdocker/consul-server

erlang

erlang/OTP 18 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/erlang

Run it:

docker run -it --rm rtxdocker/erlang erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'  -noshell

go

go 1.7.3 + glide 0.12.3 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/go

Run it:

docker run -it --rm rtxdocker/go go --version

heroku-toolbelt

heroku-toolbelt on Alpine Linux 3.4

Build it:

docker build --no-cache --build-arg "HEROKU_API_KEY=some-api-key-value" -t heroku-admin .

Run it:

docker run -it heroku-admin whoami

ProTip™: Add an alias to your shell profile alias ha="docker run -it heroku-admin"

java

Java 8 (oracle-jdk) on Alpine Linux 3.4

Install it:

docker pull rtxdocker/java

Run it:

docker run -it --rm rtxdocker/java java -version

node

node 6.7.0 + npm 3.10.9 + yarn 0.19 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/node

Run it:

docker run -it --rm rtxdocker/node node --version

postgres

postgres 9.6.1 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/postgres

Run it:

docker run -it --rm -p 5432:5432 --name db -v ${DATA_DIR}/postgres:/var/data/postgres rtxdocker/postgres
psql -h localhost -p 5432 -d rtx

python

python 2.17.12 + pip 9.0.1 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/python

Run it:

docker run -it --rm rtxdocker/python python --version

ruby

ruby 2.3.1 (via rbenv) on Alpine Linux 3.4

Install it:

docker pull rtxdocker/ruby

Run it:

docker run -it --rm -u user rtxdocker/ruby

scala

Scala 2.1.2 on Alpine Linux 3.4

Install it:

docker pull rtxdocker/scala

Run it:

docker run -it rtxdocker/scala scala -help

redis

redis 3.6.2 on debian jessie

Install it:

docker pull rtxdocker/redis

Run it:

docker run -it --rm rtxdocker/redis

Docker Pull Command
Owner
rtxdocker
Source Repository

Comments (0)