Sha256: 62492d8bbacb0fd9d5c2ee330402d93274f3dfcc5ba0e1228557df432a04db3b

Contents?: true

Size: 780 Bytes

Versions: 6

Compression:

Stored size: 780 Bytes

Contents

FROM ruby:3.0.3-alpine AS builder

RUN apk --update add --no-cache \
  curl-dev \
  ruby-dev \
  build-base \
  git \
  curl \
  ruby-json \
  openssl \
  groff \
  mandoc \
  man-pages \
  bash

RUN mkdir -p /gem
WORKDIR /gem

ENV GEM_HOME="/usr/local/bundle"
ENV PATH $GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH

RUN gem install bundler -v 2.3.9

COPY lib/uffizzi/version.rb ./lib/uffizzi/
COPY uffizzi.gemspec .
COPY Gemfile* .
RUN bundle install --jobs 4

COPY . .

RUN bundle exec rake install

# M-M-M-M-MULTISTAGE!!!
FROM ruby:3.0.3-alpine

RUN apk --update add --no-cache mandoc

WORKDIR /root/

COPY docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh

COPY --from=builder /gem/pkg/uffizzi-cli* .
RUN gem install ./uffizzi-cli*

ENTRYPOINT ["/root/docker-entrypoint.sh"]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
uffizzi-cli-0.3.7 Dockerfile
uffizzi-cli-0.3.6 Dockerfile
uffizzi-cli-0.3.5 Dockerfile
uffizzi-cli-0.3.4 Dockerfile
uffizzi-cli-0.3.3 Dockerfile
uffizzi-cli-0.3.2 Dockerfile