Sha256: bfe30c6595626caadb73a9e703b44ec152e54b8f726dbc8279150d2f179dab31

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 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 ls -al

RUN bundle install

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
osu_person-0.2.0 Dockerfile
osu_person-0.1.0 Dockerfile