diff --git a/Dockerfile b/Dockerfile index 1f0a19bc..beddcc26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,16 @@ -FROM ruby:3.3.5-slim-bookworm +FROM ruby:3.3.5-alpine3.20 -RUN apt update && apt install -y \ - g++ \ - gcc \ - make \ - libstdc++-12-dev \ - libffi-dev \ - libc-dev \ - libxml2-dev \ - libxslt-dev \ - libgcrypt-dev \ - libsqlite3-dev \ - sqlite3 \ - # not needed for gems, but for runtime - git \ - tzdata \ - && rm -rf /var/lib/apt/lists/* +RUN apk update \ + && apk upgrade \ + && apk add --no-cache --update \ + git \ + sqlite \ + alpine-sdk \ + libxml2-dev \ + libxslt-dev \ + tzdata \ + bash \ + gcompat ENV APP_HOME /hdm ENV RAILS_ENV production