Newer
Older
# Bootstrap scripts will also be used by stage 2 (rails-runtime-base-image).
# Install OS packages required for the gem build environment.
RUN /app/bootstrap-apt-upgrade.sh && \
apt-get install -y --no-install-recommends \
build-essential \
cmake \
default-libmysqlclient-dev \
git \
libpq-dev \
# Prepare bundle for the gem build environment.
RUN /app/bootstrap-app-dir.sh
USER nexus
WORKDIR /app
COPY --chown=nexus:nexus Gemfile Gemfile.lock ./

Theo Cushion
committed
COPY --chown=nexus:nexus jetbrains_gems/*.gem /tmp/
RUN /app/bootstrap-app-bundle.sh && \
gem install --user-install /tmp/*.gem