[Docker] Fix build

Wanted to remove the bundler install but removed foreman as well. Whoops
ed268ddf02
This commit is contained in:
Earlopain 2023-05-30 16:07:49 +02:00
parent 19f65b2715
commit 76963fe59d
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -3,7 +3,7 @@ FROM ruby:3.2.2-alpine3.17 as ruby-builder
RUN apk --no-cache add build-base git glib-dev postgresql15-dev
COPY Gemfile Gemfile.lock ./
RUN BUNDLE_IGNORE_CONFIG=true bundle install -j$(nproc) \
RUN gem i foreman && BUNDLE_IGNORE_CONFIG=true bundle install -j$(nproc) \
&& rm -rf /usr/local/bundle/cache/*.gem \
&& find /usr/local/bundle/gems/ -name "*.c" -delete \
&& find /usr/local/bundle/gems/ -name "*.o" -delete