Merge pull request #7 from linuxserver/build_version

Write build version to file
This commit is contained in:
Adam 2024-05-11 21:11:39 +01:00 committed by GitHub
commit a99d78aca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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/*

View File

@ -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/*