Sha256: 0e7e7b000143086a40a0df6839e4ad4f1b6677d04ea05d50aec6586bfe21f352

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

FROM code.osu.edu:5000/asctech/docker/ruby:2.5

ENV GEM_DIR=/gem \
    VERSION_DIR=lib/osu_person

RUN yum -y update && \
  useradd --user-group deploy && \
  mkdir -p ${GEM_DIR} && \
  chown -R deploy:deploy ${GEM_DIR} /usr/local/bundle

USER deploy
WORKDIR ${GEM_DIR}
COPY --chown=deploy:deploy Gemfile* ${GEM_DIR}/
COPY --chown=deploy:deploy *.gemspec ${GEM_DIR}/
COPY --chown=deploy:deploy ${VERSION_DIR}/version.rb ${GEM_DIR}/${VERSION_DIR}/version.rb

RUN bundle install

COPY --chown=deploy:deploy . ${GEM_DIR}/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osu_person-0.3 Dockerfile