From cc11fec08a6313cf1c3aa221a338b79318d08645 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Fri, 21 Feb 2025 13:40:16 -0500 Subject: [PATCH] Add git to Dockerfile for self hosted versioning info Signed-off-by: Zach Gollwitzer --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d75d7ac7..aeb8aaa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /rails # Install base packages RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y curl libvips postgresql-client + apt-get install --no-install-recommends -y curl libvips postgresql-client git # Set production environment ENV RAILS_ENV="production" \ @@ -21,7 +21,7 @@ ENV RAILS_ENV="production" \ FROM base AS build # Install packages needed to build gems -RUN apt-get install --no-install-recommends -y build-essential git libpq-dev pkg-config +RUN apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config # Install application gems COPY .ruby-version Gemfile Gemfile.lock ./