From 1c54e4c0b5999f160b49a14f48977c5c960382f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 3 Feb 2024 11:35:41 +0200 Subject: [PATCH] New CI image Dockerfile --- ci/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 2393eb5..d595128 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -1,4 +1,10 @@ # syntax=docker/dockerfile:1 -FROM guildeducation/rails:2.7.2-14.20.0 +FROM ruby:3.3.0 -RUN apt-get update -qq && apt-get install -y --no-install-recommends ldap-utils libvips +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN apt-get update -qq && apt-get install -y --no-install-recommends curl \ + ldap-utils tini libvips +RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - +RUN apt-get update && apt-get install -y nodejs +RUN npm install -g yarn