Sha256: 7c76864d51df6dc4ef4d6eb765334619afbf872175ed7bfcb0154da5449892d2

Contents?: true

Size: 865 Bytes

Versions: 3

Compression:

Stored size: 865 Bytes

Contents

# Use the barebones version of Ruby 2.7.x
FROM ruby:2.7

# 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.10.0 Dockerfile
addressfinder-1.9.1 Dockerfile
addressfinder-1.9.0 Dockerfile