Sha256: fe9512ec887ce017f0ecb756e266e0538eede143705b50e314a4c7c3094b6543

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

FROM ruby:2.7.7

ARG TOKEN

ENV GEM_CREDENTIALS_PATH=/root/.gem/
ENV GEM_CREDENTIALS_FILE_PATH=${GEM_CREDENTIALS_PATH}credentials

RUN mkdir -p ${GEM_CREDENTIALS_PATH} && \
  touch ${GEM_CREDENTIALS_FILE_PATH} && \
  echo -e "---\n:github: Bearer ${TOKEN}\n" > ${GEM_CREDENTIALS_FILE_PATH} && \
  apt-get update && \
  apt-get install -qy cmake && \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/*

WORKDIR /var/app

COPY . .

RUN bundle install -j$(nproc)

COPY . .

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test-development-dependencies-0.1.0 Dockerfile