Sha256: 4100971e230fc06c8a6103e7c6d14b70c64ef679858ed9a070d5bd05eeaa79f6

Contents?: true

Size: 976 Bytes

Versions: 2

Compression:

Stored size: 976 Bytes

Contents

FROM ruby:2.4

# System dependencies: Add here any librairies needed for certain gems
RUN apt-get update \
  && apt-get install -y libpq-dev \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Application working directory
WORKDIR /home/trustpilot-business-links

# WARNING The following line is important to keep bundle config
# inside the app directory
ENV  BUNDLE_APP_CONFIG /home/trustpilot-business-links/.bundle/
# Copy dependency file
COPY ./trustpilot-business-links-client.gemspec /home/trustpilot-business-links/trustpilot-business-links-client.gemspec
COPY ./lib/trustpilot-business-links/version.rb /home/trustpilot-business-links/lib/trustpilot-business-links/version.rb
COPY ./Gemfile /home/trustpilot-business-links/Gemfile

# Ensure UTF8 strings can be used
ENV LANG C.UTF-8

# Bundle
RUN bundle install

# Copy code
COPY ./ /home/trustpilot-business-links

# What to launch on container startup
ENTRYPOINT ["make"]
CMD        ["run"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trustpilot-business-links-1.1.0 Dockerfile
trustpilot-business-links-1.0.3 Dockerfile