From 47f964a2cb9cb4d8e9d689044da50e701920565d Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Tue, 21 Nov 2023 14:17:36 -0500 Subject: [PATCH] Move echo of build_id to allow more caching --- templates/build.Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/build.Dockerfile b/templates/build.Dockerfile index 7dabd96..e7fecd6 100644 --- a/templates/build.Dockerfile +++ b/templates/build.Dockerfile @@ -3,13 +3,13 @@ FROM ${base_image} USER root -ARG build_id=0 -RUN echo ${build_id} - RUN microdnf -y module enable nodejs:{{.NODEJS_VERSION}} RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y {{.PACKAGES}} && microdnf clean all RUN echo uid:gid "{{.CNB_USER_ID}}:{{.CNB_GROUP_ID}}" USER {{.CNB_USER_ID}}:{{.CNB_GROUP_ID}} -RUN echo "CNB_STACK_ID: {{.CNB_STACK_ID}}" \ No newline at end of file +RUN echo "CNB_STACK_ID: {{.CNB_STACK_ID}}" + +ARG build_id=0 +RUN echo ${build_id}