Skip to content

Commit 3720c0f

Browse files
committed
add the build version to container
1 parent 0ee318a commit 3720c0f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ RUN \
4747
pip \
4848
wheel && \
4949
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
50+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
5051
echo "**** cleanup ****" && \
5152
apt-get -y purge \
5253
build-essential \

Dockerfile.aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ RUN \
4747
pip \
4848
wheel && \
4949
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
50+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
5051
echo "**** cleanup ****" && \
5152
apt-get -y purge \
5253
build-essential \

0 commit comments

Comments
 (0)