mirror of
https://github.com/kairos-io/provider-rke2.git
synced 2025-07-16 07:36:00 +00:00
Append instead of writing os-release from scratch
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
e1709c687b
commit
b9afb8d1e9
@ -90,7 +90,7 @@ docker:
|
||||
ENV OS_REPO=${IMAGE_REPOSITORY}
|
||||
ENV OS_VERSION=${RKE2_VERSION_TAG}_${VERSION}
|
||||
ENV OS_LABEL=${BASE_IMAGE_TAG}_${RKE2_VERSION_TAG}_${VERSION}
|
||||
RUN envsubst >/etc/os-release </usr/lib/os-release.tmpl
|
||||
RUN envsubst >>/etc/os-release </usr/lib/os-release.tmpl
|
||||
RUN echo "export PATH=/var/lib/rancher/rke2/bin:$PATH" >> /etc/profile
|
||||
RUN mkdir -p /opt/rke2/scripts/
|
||||
COPY scripts/* /opt/rke2/scripts/
|
||||
|
Loading…
Reference in New Issue
Block a user