Sha256: bd402eae4db0a8a3ab728479704e1513887063cc6696280913fbd630dbcfb3ef

Contents?: true

Size: 865 Bytes

Versions: 3

Compression:

Stored size: 865 Bytes

Contents

# Use the barebones version of Ruby 2.6.1
FROM ruby:2.6

# Install dependencies:
# - build-essential: To ensure certain gems can be compiled
# - nodejs: Compile assets
# - bundler: ensure most recent version is installed
RUN apt-get update && apt-get install -qq -y build-essential --fix-missing --no-install-recommends
RUN gem install bundler

# Set an environment variable to store where the app is installed to inside
# of the Docker image.
ENV LANG C.UTF-8
ENV BUNDLE_PATH /bundle
ENV INSTALL_PATH /addressfinder-ruby
RUN mkdir -p $INSTALL_PATH

# Create address verification directories
RUN mkdir -p $INSTALL_PATH/verification/originals
RUN mkdir -p $INSTALL_PATH/verification/verified

# This sets the context of where commands will be ran in and is documented
# on Docker's website extensively.
WORKDIR $INSTALL_PATH

ADD . $INSTALL_PATH

RUN bundle install

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
addressfinder-1.8.1 Dockerfile
addressfinder-1.8.0 Dockerfile
addressfinder-1.7.1 Dockerfile