mirror of
https://github.com/we-promise/sure.git
synced 2026-07-12 21:05:20 +00:00
Bump the pinned Ruby version from 3.4.7 to 3.4.9 across .ruby-version, the application/preview/devcontainer Dockerfiles, and Gemfile.lock. https://claude.ai/code/session_01C6t7JgroFSe2Xswqma3EdL Co-authored-by: Claude <noreply@anthropic.com>
35 lines
930 B
Docker
35 lines
930 B
Docker
ARG RUBY_VERSION=3.4.9
|
|
FROM ruby:${RUBY_VERSION}-slim-bookworm
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# libvips42 supports ActiveStorage image variants through image_processing/ruby-vips
|
|
# for existing profile/avatar images. AccountStatement.original_file only stores
|
|
# PDF/CSV/XLSX originals, but the devcontainer needs this broader image stack.
|
|
RUN apt-get update -qq \
|
|
&& apt-get -y install --no-install-recommends \
|
|
apt-utils \
|
|
build-essential \
|
|
curl \
|
|
git \
|
|
imagemagick \
|
|
iproute2 \
|
|
libvips42 \
|
|
libpq-dev \
|
|
libyaml-dev \
|
|
libyaml-0-2 \
|
|
openssh-client \
|
|
postgresql-client \
|
|
vim \
|
|
procps \
|
|
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
|
|
|
RUN gem install bundler foreman
|
|
|
|
# Install Node.js 20
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
|
|
|
WORKDIR /workspace
|