mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-01-15 21:12:54 +00:00
fix: add Dockerfile ARGs
This commit is contained in:
parent
9c46680949
commit
205ae66a45
@ -1,4 +1,6 @@
|
|||||||
FROM debian:trixie-slim AS builder
|
FROM debian:trixie-slim AS builder
|
||||||
|
ARG TARGETARCH
|
||||||
|
ARG TARGETVARIANT
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -32,6 +34,8 @@ python3 -m venv .venv
|
|||||||
EOS
|
EOS
|
||||||
|
|
||||||
FROM debian:trixie-slim
|
FROM debian:trixie-slim
|
||||||
|
ARG TARGETARCH
|
||||||
|
ARG TARGETVARIANT
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user