fix: add Dockerfile ARGs

This commit is contained in:
Mikucat 2024-02-07 23:37:49 +08:00
parent 9c46680949
commit 205ae66a45
No known key found for this signature in database
GPG Key ID: CE6B09A6F462E04D

View File

@ -1,4 +1,6 @@
FROM debian:trixie-slim AS builder
ARG TARGETARCH
ARG TARGETVARIANT
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
@ -32,6 +34,8 @@ python3 -m venv .venv
EOS
FROM debian:trixie-slim
ARG TARGETARCH
ARG TARGETVARIANT
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app