1
0
Fork 0
mirror of https://github.com/rubyjs/mini_racer synced 2023-03-27 23:21:28 -04:00

Add alpine build tools for testing

This commit is contained in:
Loic Nageleisen 2021-01-18 14:49:40 +01:00
parent 03e0babcd8
commit cc96bea6e4

View file

@ -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