Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Nov 27, 2024
1 parent b6dd370 commit ef9f4fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
ARG RUBY_VERSION=3.3.6
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
FROM --platform=$BUILDPLATFORM docker.io/library/ruby:$RUBY_VERSION-slim AS base

# Rails app lives here
WORKDIR /rails

# Install base packages
RUN apt-get update -qq && \
apt-get install --no-install-recommends -y curl libjemalloc2 postgresql-client && \
apt-get install --no-install-recommends -y curl libjemalloc2 postgresql-client automake libtool && \
rm -rf /var/lib/apt/lists /var/cache/apt/archives

# Set production environment
Expand Down

0 comments on commit ef9f4fe

Please sign in to comment.