Sha256: 7b2b958d0ad2341e57a4a9ce2d4e454a3f166266b422eb6ba187a8edaf3a8439

Contents?: true

Size: 1.57 KB

Versions: 18

Compression:

Stored size: 1.57 KB

Contents

FROM ruby:<%= ruby_version %>
ARG BUNDLE_BITBUCKET__ORG
ARG BUNDLE_GITHUB__COM
ARG GIT_COMMIT
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
 && apt-get update \
 && DEBIAN_FRONTEND=noninteractive apt-get install -y \
      nodejs \
      gosu \
      sendmail \
 && rm -rf /var/lib/apt/lists/* \
 && gem install bundler \
 && mkdir /app<%if defined?(Webpacker) %> \
 && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
 && . /root/.bashrc \
 && nvm install 14.16.0 \
 && npm config set user 0 \
 && npm config set unsafe-perm true \
 && npm install -g yarn<% end %>
WORKDIR /app
COPY .build/Gemfile .build/Gemfile.lock ./
RUN bundle config set deployment 'true' \
 && bundle config set without 'development test' \
 && bundle install
ADD .build/context.tar .
<% if defined?(Webpacker) %>RUN . /root/.bashrc ; NODE_ENV=production RAILS_ENV=production yarn install && NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% elsif Rake::Task.tasks.map(&:name).include?('assets:precompile') %>RUN NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% end %>
RUN echo "${GIT_COMMIT}" > /app/GIT_COMMIT
HEALTHCHECK --interval=<%= healthcheck['interval'] %> \
            --timeout=<%= healthcheck['timeout'] %> \
            --start-period=<%= healthcheck['start_period'] %> \
            --retries=<%= healthcheck['retries'] %> \
            CMD <%= healthcheck['test'].to_json %>
ENTRYPOINT <%= entrypoint.to_json %>
CMD <%= command.to_json %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
orchestration-0.6.13 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.10 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.9 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.12 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.8 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.11 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.6 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.10 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.5 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.4 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.9 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.8 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.3 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.2 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.1 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.7 lib/orchestration/templates/Dockerfile.erb
orchestration-0.7.0 lib/orchestration/templates/Dockerfile.erb
orchestration-0.6.6 lib/orchestration/templates/Dockerfile.erb