From 79f125fc482fcb373ff5d74b4aca323c8b742cce Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Tue, 5 Sep 2023 13:48:26 -0500 Subject: [PATCH] Use base ruby 2.6 image (bullseye). Use jmalloc2. (#394) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e95719e..e2eb63a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM ruby:2.6-stretch +FROM ruby:2.6 WORKDIR /app ENV PORT=80 ARG RAILS_ENV RUN apt-get update && \ - apt-get install --no-install-recommends -y git curl libpq-dev libjemalloc1 && \ + apt-get install --no-install-recommends -y git curl libpq-dev libjemalloc2 && \ apt-get clean && rm -rf /var/lib/apt/lists/* -ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 +ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 ADD ./Gemfile /app/ ADD ./Gemfile.lock /app/