diff --git a/Dockerfile b/Dockerfile index 524af370..6a76c90b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,9 @@ -FROM ruby:3.2.2-alpine +FROM ruby:3.3.2-bookworm -# postgresql-client is required for invoke.sh -RUN apk --no-cache add \ - postgresql-dev \ - postgresql-client \ - tzdata \ - libxml2-dev \ - libxslt-dev +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install --no-install-recommends \ + postgresql-client postgresql-contrib libpq-dev build-essential \ + libxml2-dev libxslt-dev LABEL maintainer="Aaron Collier " @@ -25,10 +22,7 @@ RUN gem update --system && \ COPY Gemfile Gemfile.lock ./ -RUN apk --no-cache add --virtual build-dependencies \ - build-base \ - && bundle install --without test\ - && apk del build-dependencies +RUN bundle install COPY . . diff --git a/Gemfile.lock b/Gemfile.lock index e223c4eb..28e58ee2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -191,6 +191,7 @@ GEM net-http faraday-retry (2.2.1) faraday (~> 2.0) + ffi (1.17.0-aarch64-linux-gnu) ffi (1.17.0-aarch64-linux-musl) ffi (1.17.0-arm64-darwin) ffi (1.17.0-x86_64-darwin) @@ -454,6 +455,7 @@ GEM zeitwerk (2.6.15) PLATFORMS + aarch64-linux aarch64-linux-musl arm64-darwin-23 x86_64-darwin-19