forked from e621ng/e621ng
[Docker] Adding Apple Silicon Mac support in Docker Container (#785)
This commit is contained in:
parent
10b9389c23
commit
c056f821bd
@ -1,6 +1,6 @@
|
|||||||
FROM ruby:3.3.1-alpine3.19 as ruby-builder
|
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 ./
|
COPY Gemfile Gemfile.lock ./
|
||||||
RUN gem i foreman && BUNDLE_IGNORE_CONFIG=true bundle install -j$(nproc) \
|
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 \
|
RUN apk --no-cache add ffmpeg vips \
|
||||||
postgresql15-client \
|
postgresql15-client \
|
||||||
git jemalloc tzdata \
|
git jemalloc tzdata \
|
||||||
sudo
|
sudo gcompat
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user