Sha256: c6392dbd56c3385cee26031daa275f52b3dd167787023baac7af30585b1a5b13

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

ARG RUBY_VERSION=3.1

FROM ruby:${RUBY_VERSION}-alpine

WORKDIR /home/app

RUN mkdir -p /usr/local/etc \
  && { \
    echo 'install: --no-document'; \
    echo 'update: --no-document'; \
  } >> /usr/local/etc/gemrc \
  && echo 'gem: --no-document' > ~/.gemrc

# RUN set -ex \
#   && apk add --no-cache build-base git curl

ADD Gemfile Gemfile.lock /home/app/

RUN set -ex \
  && gem install bundler && gem update bundler \
  && bundle config set --local system 'true' \
  && bundle install --jobs=3 \
  && rm -rf /tmp/* /var/tmp/* /usr/src/ruby /root/.gem /usr/local/bundle/cache

ADD . /home/app/

RUN set -ex \
  && bundle install --jobs=3 \
  && rm -rf /tmp/* /var/tmp/* /usr/src/ruby /root/.gem /usr/local/bundle/cache

CMD ["bundle", "exec", "giltab-janitor"]


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-janitor-0.0.3 Dockerfile