Skip to content

Commit a67b6b9

Browse files
committed
Move ARG GUIDELLM_BUILD_TYPE after FROM to fix container version tagging
Signed-off-by: Kay Yan <[email protected]>
1 parent 8f1e001 commit a67b6b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# TODO: Update to official python-3.13-minimal image when available
22
ARG BASE_IMAGE=quay.io/fedora/python-313-minimal:latest
33

4+
# Use a multi-stage build to create a lightweight production image
5+
FROM $BASE_IMAGE as builder
6+
47
# release: take the last version and add a post if build iteration
58
# candidate: increment to next minor, add 'rc' with build iteration
69
# nightly: increment to next minor, add 'a' with build iteration
710
# alpha: increment to next minor, add 'a' with build iteration
811
# dev: increment to next minor, add 'dev' with build iteration
912
ARG GUIDELLM_BUILD_TYPE=dev
1013

11-
# Use a multi-stage build to create a lightweight production image
12-
FROM $BASE_IMAGE as builder
13-
1414
# Switch to root for installing packages
1515
USER root
1616

0 commit comments

Comments
 (0)