From c056f821bdb9ac4eeafca8d3b7a75ab937393f25 Mon Sep 17 00:00:00 2001 From: Sing Wong Date: Mon, 11 Nov 2024 12:07:41 +0800 Subject: [PATCH] [Docker] Adding Apple Silicon Mac support in Docker Container (#785) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f4e3ba37..29e5e2818 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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