Skip to content

Commit

Permalink
Swirch to alpine linux
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Waffen <[email protected]>
  • Loading branch information
rwaffen committed Jul 31, 2024
1 parent a2599a0 commit 3dadc5a
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
FROM ruby:3.3.4-slim-bookworm
FROM ruby:3.3.4-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
Expand Down

0 comments on commit 3dadc5a

Please sign in to comment.