canvas-lms/Dockerfile.jenkins.ruby-runner

15 lines
438 B
Docker

FROM local/base-runner
COPY --chown=docker:docker --from=local/cache-helper-collect-gems /tmp/dst ${APP_HOME}
RUN set -eux; \
\
# set up bundle config options \
bundle config --global build.nokogiri --use-system-libraries \
&& bundle config --global build.ffi --enable-system-libffi \
&& mkdir -p \
/home/docker/.bundle \
# TODO: --without development \
&& bundle install --jobs $(nproc) \
&& rm -rf $GEM_HOME/cache