From cef302e6202b388f36bce57bb8eb7e2a0c899720 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 18 Aug 2022 08:43:00 +0000 Subject: [PATCH] art: Drop ENV from OSRELEASE macro This is not really needed, and it attach the envs to the image into layers, which makes customizing convoluted. --- Earthfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Earthfile b/Earthfile index a78a92d..0a59433 100644 --- a/Earthfile +++ b/Earthfile @@ -69,16 +69,7 @@ OSRELEASE: ARG GITHUB_REPO ARG BUG_REPORT_URL ARG HOME_URL - ENV OS_ID=$OS_ID - ENV OS_NAME=$OS_NAME - ENV OS_REPO=$OS_REPO - ENV OS_VERSION=$OS_VERSION - ENV OS_LABEL=$OS_LABEL - ENV GITHUB_REPO=$GITHUB_REPO - ENV BUG_REPORT_URL=$BUG_REPORT_URL - ENV HOME_URL=$HOME_URL - ENV VARIANT=$VARIANT - ENV FLAVOR=$FLAVOR + # update OS-release file RUN envsubst >/etc/os-release