We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ed827 commit dce3e62Copy full SHA for dce3e62
ubuntu/Dockerfile
@@ -3,8 +3,9 @@ ARG base_image_version=noble
3
FROM ubuntu:$base_image_version AS ubuntu-builder-base
4
WORKDIR /app
5
6
-## Not sure why we have to repeat this, but apparently the arg is no
7
-## longer set after FROM.
+## An ARG instruction goes out of scope at the end of the build stage
+## where it was defined. To use an argument in multiple stages, each stage
8
+## must include the ARG instruction
9
ARG base_image_version=noble
10
ARG lua_version=5.4
11
ENV DEBIAN_FRONTEND noninteractive
0 commit comments