File: Dockerfile.ruby-3.1

package info (click to toggle)
ruby-otr-activerecord 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ruby: 561; sh: 133; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ruby:3.1-slim-bookworm
WORKDIR /srv

ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_PATH="$GEM_HOME" \
  BUNDLE_APP_CONFIG="$GEM_HOME"

RUN \
  apt-get update -qq && \
  apt-get install -y --no-install-recommends \
    build-essential \
    libsqlite3-dev \
    git \
  && \
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*