Skip to content

Commit

Permalink
move docker image back to node 18 / buster (gristlabs#1260)
Browse files Browse the repository at this point in the history
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: gristlabs#1255

Sorry for the breakage!
  • Loading branch information
paulfitz authored Oct 12, 2024
1 parent a9270c8 commit 3246842
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3246842

Please sign in to comment.