ganti debian

master
a2nr 2026-04-11 14:41:40 +07:00
parent 2274d28a3f
commit 0d6b65b3a5
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# 1. Local: place files in prebuilt/qemu/ (from build-qemu.sh or manual copy) # 1. Local: place files in prebuilt/qemu/ (from build-qemu.sh or manual copy)
# 2. CI/CD: downloads from GitHub Release (requires qemu-lcgamboa repo to be public) # 2. CI/CD: downloads from GitHub Release (requires qemu-lcgamboa repo to be public)
# The COPY always runs; the RUN only downloads missing files. # The COPY always runs; the RUN only downloads missing files.
FROM ubuntu:20.04 AS qemu-provider FROM debian:bookworm-slim AS qemu-provider
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates \ RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
@ -28,7 +28,7 @@ RUN cd /qemu \
# ---- Stage 0.5: ESP-IDF toolchain for ESP32 compilation ---- # ---- Stage 0.5: ESP-IDF toolchain for ESP32 compilation ----
FROM ubuntu:20.04 AS espidf-builder FROM debian:bookworm-slim AS espidf-builder
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
git wget flex bison gperf python3 python3-pip python3-venv \ git wget flex bison gperf python3 python3-pip python3-venv \