Sha256: a6224d6793e2449d929f04f138fdd6cfe69b0b6758c87224925f5ec8ce1e2e9f

Contents?: true

Size: 607 Bytes

Versions: 5

Compression:

Stored size: 607 Bytes

Contents

FROM ruby:3.2 AS development

# Check https://rubygems.org/gems/bundler/versions for the latest version.
ARG UNAME=app
ARG UID=1000
ARG GID=1000

## Install Vim (optional)
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
  vim-tiny

RUN gem install bundler

RUN groupadd -g ${GID} -o ${UNAME}
RUN useradd -m -d /app -u ${UID} -g ${GID} -o -s /bin/bash ${UNAME}
RUN mkdir -p /gems && chown ${UID}:${GID} /gems

ENV PATH="$PATH:/app/exe:/app/bin"
USER $UNAME

ENV BUNDLE_PATH /gems

WORKDIR /app

FROM development AS production

COPY --chown=${UID}:${GID} . /app

RUN bundle install

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solr_cloud-connection-0.6.0 Dockerfile
solr_cloud-connection-0.5.0 Dockerfile
solr_cloud-connection-0.4.0 Dockerfile
solr_cloud-connection-0.3.0 Dockerfile
solr_cloud-connection-0.1.0 Dockerfile