diff --git a/Dockerfile b/Dockerfile index e0bacc6..4766f0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM ruby:3.2.1-alpine +FROM ruby:3.1.4-slim + +RUN apt update && apt install -y build-essential && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 27ab190..7f42142 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,10 +1,5 @@ #!/bin/sh -# This is needed as native dependencies for dartsass -wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.34-r0/glibc-2.34-r0.apk -apk add glibc-2.34-r0.apk - gem install easol-canvas --version='~> 4.1' canvas lint