[Docker] Adding Apple Silicon Mac support in Docker Container (#785)

This commit is contained in:
Sing Wong 2024-11-11 12:07:41 +08:00 committed by GitHub
parent 10b9389c23
commit c056f821bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
FROM ruby:3.3.1-alpine3.19 as ruby-builder
RUN apk --no-cache add build-base cmake git glib-dev postgresql15-dev
RUN apk --no-cache add build-base cmake git glib-dev postgresql15-dev gcompat
COPY Gemfile Gemfile.lock ./
RUN gem i foreman && BUNDLE_IGNORE_CONFIG=true bundle install -j$(nproc) \
@ -19,7 +19,7 @@ FROM ruby:3.3.1-alpine3.19
RUN apk --no-cache add ffmpeg vips \
postgresql15-client \
git jemalloc tzdata \
sudo
sudo gcompat
WORKDIR /app