Sha256: 05b4752779ace34274e7158f4dd755531f8a1d09329bb7d9532a98b33a3f3107

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

FROM ruby:3.0
MAINTAINER muffinista@gmail.com

# Install apt based dependencies required to run Rails as
# well as RubyGems. As the Ruby image itself is based on a
# Debian image, we use apt-get to install those.
RUN apt-get update && apt-get install -y \
  build-essential \
  percona-toolkit

# Configure the main working directory. This is the base
# directory used in any further RUN, COPY, and ENTRYPOINT
# commands.
RUN mkdir -p /app /app/lib/departure
WORKDIR /app

# Copy the Gemfile as well as the Gemfile.lock and install
# the RubyGems. This is a separate step so the dependencies
# will be cached unless changes to one of those two files
# are made.
COPY departure.gemspec Gemfile ./
COPY lib/departure/version.rb ./lib/departure/

RUN gem install bundler && bundle install --jobs 20 --retry 5

# Copy the main application.
COPY . ./

# The main command to run when the container starts. Also
# tell the Rails dev server to bind to all interfaces by
# default.
#CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
departure-6.7.0 Dockerfile
departure-6.6.0 Dockerfile