From 324684259acaca6c1f1ac104312c2bab9fb12c36 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Fri, 11 Oct 2024 22:24:32 -0400 Subject: [PATCH] move docker image back to node 18 / buster (#1260) This partially undos a recent upgrade because it results in `gvisor` sandboxing not functioning. Hopefully this is temporary, to give time to track down the cause, fix it, and extend CI testing on candidate docker images to include `gvisor` sandboxing. Upgrade: https://github.com/gristlabs/grist-core/pull/1255 Sorry for the breakage! --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ef06b2447..da991c5561 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ FROM scratch AS ext ## Javascript build stage ################################################################################ -FROM node:22-bookworm AS builder +FROM node:18-buster AS builder # Install all node dependencies. WORKDIR /grist @@ -46,7 +46,7 @@ RUN \ ################################################################################ # Fetch python3.11 -FROM python:3.11-slim-bookworm AS collector-py3 +FROM python:3.11-slim-buster AS collector-py3 ADD sandbox/requirements3.txt requirements3.txt RUN \ pip3 install -r requirements3.txt @@ -86,7 +86,7 @@ FROM docker.io/gristlabs/gvisor-unprivileged:buster AS sandbox ################################################################################ # Now, start preparing final image. -FROM node:22-bookworm-slim +FROM node:18-buster-slim # Install libexpat1, libsqlite3-0 for python3 library binary dependencies. # Install pgrep for managing gvisor processes.