Use version var in images tarball

This commit is contained in:
thespad 2025-10-24 21:09:46 +01:00
parent 6b9159d575
commit fb3f4d0757
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -83,7 +83,7 @@ RUN \
ALVERSION=$(cat /kasm_release/conf/database/seed_data/default_properties.yaml |awk '/alembic_version/ {print $2}') && \
curl -o \
/tmp/images.tar.gz -L \
"https://kasm-ci.s3.amazonaws.com/1.18.0-images-combined.tar.gz" && \
"https://kasm-ci.s3.amazonaws.com${KASM_VERSION}-images-combined.tar.gz" && \
tar xf \
/tmp/images.tar.gz -C \
/ && \
@ -104,6 +104,7 @@ RUN \
/wizard/ && \
useradd -u 70 kasm_db && \
useradd kasm && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apt-get remove -y g++ gcc make && \
apt-get -y autoremove && \