Sha256: e458d4e891a5fb0edbde93b1db9b9ff95dd7e37036e3601ee44800432f342a02

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

FROM ruby:2.7.5
RUN cd /tmp && curl -L --output ghr.tar.gz https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz && \
    tar -xzvf ghr.tar.gz && chmod +x ghr_v0.12.0_linux_amd64/ghr && mv ghr_v0.12.0_linux_amd64/ghr /usr/local/bin/ghr && rm -rf /tmp/*

WORKDIR /gem
COPY Gemfile /gem/Gemfile

COPY sidekiq-web_custom.gemspec /gem/sidekiq-web_custom.gemspec
COPY lib/sidekiq/web_custom/version.rb /gem/lib/sidekiq/web_custom/version.rb


RUN gem update --system && gem install bundler && bundle install --jobs=3 --retry=3 && \
    rm -rf /usr/local/bundle/cache

COPY . /gem
RUN gem build sidekiq-web_custom

CMD ['bin/sidekiq', '-c', '2', '-e', 'development']

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-web_custom-0.6.0 Dockerfile
sidekiq-web_custom-0.5.0 Dockerfile
sidekiq-web_custom-0.4.1 Dockerfile