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!
This commit is contained in:
Paul Fitzpatrick 2024-10-11 22:24:32 -04:00 committed by GitHub
parent a9270c88e2
commit 324684259a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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