Skip to content

Commit

Permalink
🎨 Drop ENV from OSRELEASE macro
Browse files Browse the repository at this point in the history
This is not really needed, and it attach the envs to the image into layers, which
makes customizing convoluted.
  • Loading branch information
mudler committed Aug 18, 2022
1 parent b2b81bf commit 4cb7816
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 </usr/lib/os-release.tmpl

Expand Down

0 comments on commit 4cb7816

Please sign in to comment.