From 4a359105b264b353a377e08d7095d324f0c814d4 Mon Sep 17 00:00:00 2001 From: Michael Gianatassio <31552226+mgianatagh@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:21:05 -0400 Subject: [PATCH] Add comment to Dockerfiles making it clear where the base image is coming from (#131) --- Dockerfile.dapper | 1 + package/Dockerfile | 1 + package/Dockerfile.agent | 1 + 3 files changed, 3 insertions(+) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 4d52f7b3289..781bfe42b21 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -1,5 +1,6 @@ ARG RANCHER_BASE_TAG=base ARG RANCHER_REPO=rancher +# Use the build of Dockerfile.base as the FROM image FROM ${RANCHER_REPO}/rancher:${RANCHER_BASE_TAG} ARG DAPPER_HOST_ARCH diff --git a/package/Dockerfile b/package/Dockerfile index 51c25de8265..5d98aac509d 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -1,5 +1,6 @@ ARG RANCHER_BASE_TAG=base ARG RANCHER_REPO=rancher +# Use the build of Dockerfile.base as the FROM image FROM ${RANCHER_REPO}/rancher:${RANCHER_BASE_TAG} ARG ARCH=amd64 diff --git a/package/Dockerfile.agent b/package/Dockerfile.agent index a7634338989..88189e99844 100644 --- a/package/Dockerfile.agent +++ b/package/Dockerfile.agent @@ -1,5 +1,6 @@ ARG RANCHER_TAG=dev ARG RANCHER_REPO=rancher +# Use the build of Dockerfile.base as the FROM image FROM ${RANCHER_REPO}/rancher:${RANCHER_TAG} as rancher ARG ARCH=amd64