▾ modified .modal/web/Dockerfile +5 -3 Viewed
@@ -17,10 +17,12 @@ FROM debian:13-slim AS build 17 17 18 18 # The toolchain's own needs (git, because Flutter shells out to it against 19 19 # its SDK checkout; the unpackers; ca-certificates for curl) and Nim's one 20 - # host dependency, a C compiler. No GTK here and no CMake: the Linux desktop 21 - # target wants those, and this is the web one. 20 + # host dependency, a C compiler. `python3` is one too — CLAUDE.md lists it 21 + # among what the host brings, and this image is the host here: it writes the 22 + # OAuth client metadata below. No GTK and no CMake: the Linux desktop target 23 + # wants those, and this is the web one. 22 24 RUN apt-get update && apt-get install -y --no-install-recommends \ 23 - build-essential ca-certificates curl git tar unzip xz-utils \ 25 + build-essential ca-certificates curl git python3 tar unzip xz-utils \ 24 26 && rm -rf /var/lib/apt/lists/* 25 27 26 28 WORKDIR /src
@@ -17,10 +17,12 @@ FROM debian:13-slim AS build 17 17 18 # The toolchain's own needs (git, because Flutter shells out to it against 18 # The toolchain's own needs (git, because Flutter shells out to it against 19 # its SDK checkout; the unpackers; ca-certificates for curl) and Nim's one 19 # its SDK checkout; the unpackers; ca-certificates for curl) and Nim's one 20 - # host dependency, a C compiler. No GTK here and no CMake: the Linux desktop 20 + # host dependency, a C compiler. `python3` is one too — CLAUDE.md lists it 21 - # target wants those, and this is the web one. 21 + # among what the host brings, and this image is the host here: it writes the 22 + # OAuth client metadata below. No GTK and no CMake: the Linux desktop target 23 + # wants those, and this is the web one. 22 RUN apt-get update && apt-get install -y --no-install-recommends \ 24 RUN apt-get update && apt-get install -y --no-install-recommends \ 23 - build-essential ca-certificates curl git tar unzip xz-utils \ 25 + build-essential ca-certificates curl git python3 tar unzip xz-utils \ 24 && rm -rf /var/lib/apt/lists/* 26 && rm -rf /var/lib/apt/lists/* 25 27 26 WORKDIR /src 28 WORKDIR /src