From cc96bea6e4fb50634314e19f73356f014cfe7957 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 18 Jan 2021 14:49:40 +0100 Subject: [PATCH] Add alpine build tools for testing --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4cc9f70..208d733 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ ARG RUBY_VERSION=2.7 FROM ruby:${RUBY_VERSION} +RUN test ! -f /etc/alpine-release || apk add --no-cache build-base git + # without this `COPY .git`, we get the following error: # fatal: not a git repository (or any of the parent directories): .git # but with it we need the full gem just to compile the extension because