From f1420f28e77c5b504d0b9aaeab82460bf787b063 Mon Sep 17 00:00:00 2001 From: thespad Date: Sat, 11 May 2024 20:32:47 +0100 Subject: [PATCH] Write build version to file --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 389d4e5..395d45e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ RUN \ echo "**** setup openssh environment ****" && \ sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config && \ usermod --shell /bin/bash abc && \ + echo "Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" > /build_version && \ rm -rf \ /tmp/* diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 6c854fa..a28e17b 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -31,6 +31,7 @@ RUN \ echo "**** setup openssh environment ****" && \ sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config && \ usermod --shell /bin/bash abc && \ + echo "Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" > /build_version && \ rm -rf \ /tmp/*