Sha256: d57267e9d9d121a280238c0eb41fbbb1f84a7ec9e80f6825fa8945841a1f2172

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 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

# 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 gem update --system && gem install bundler -v 2.0.2

RUN mkdir -p /app

ENTRYPOINT ["/app/config/docker/rails_base/entrypoint.sh"]
WORKDIR /app

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
error_agency-docker-0.1.2 lib/generators/error_agency/docker/templates/rails_base/Dockerfile.erb