Sha256: 649c702ff12b9f9de1d3cb35309da5912af5b9af9206bba89e95f3cd3172cf86
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
FROM ruby:<%= @ruby_version %> LABEL maintainer="paul@error.agency" # Install curl for fetching other apt repos RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends apt-transport-https nano gpg # Add NodeJS repo RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - # Add Yarn repo RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends nodejs yarn RUN gem update --system && gem install bundler -v '2' # Configure bundler and PATH ENV LANG=C.UTF-8 \ GEM_HOME=/bundle \ BUNDLE_JOBS=4 \ BUNDLE_RETRY=3 ENV BUNDLE_PATH $GEM_HOME ENV BUNDLE_APP_CONFIG=$BUNDLE_PATH \ BUNDLE_BIN=$BUNDLE_PATH/bin ENV PATH /app/bin:$BUNDLE_BIN:$PATH RUN mkdir -p /app ENTRYPOINT ["/app/config/docker/web/entrypoint.sh"] WORKDIR /app
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
error_agency-docker-0.1.0 | lib/generators/error_agency/docker/templates/rails_base/Dockerfile.erb |