dockerfile base image code example
Example 1: multiple run dockerfile
RUN <<EOR
cd /
git clone https://github.com/
cd /fileadmin/
bundle install
rake db:migrate
bundle exec rails runner "eval(File.read 'createTestUser.rb')"
mkdir /pending
mkdir /live
chmod 777 /pending
chmod 777 /live
EOR
Example 2: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -