diff --git a/Dockerfile b/Dockerfile index 9ccc70b..e626045 100644 --- a/Dockerfile +++ b/Dockerfile @@ -101,6 +101,9 @@ RUN \ /kasm_release/conf/database/seed_data/default_images_a* && \ sed -i 's/-N -e -H/-N -B -e -H/g' /kasm_release/upgrade.sh && \ echo "exit 0" > /kasm_release/install_dependencies.sh && \ + /kasm_release/bin/utils/yq_$(uname -m) -i \ + '.services.proxy.volumes += "/kasm_release/www/img/thumbnails:/srv/www/img/thumbnails"' \ + /kasm_release/docker/docker-compose-all.yaml && \ echo "**** copy assets ****" && \ cp \ /kasm_release/www/img/thumbnails/*.png /kasm_release/www/img/thumbnails/*.svg \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 162b3b7..85cc9a9 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -101,6 +101,9 @@ RUN \ /kasm_release/conf/database/seed_data/default_images_a* && \ sed -i 's/-N -e -H/-N -B -e -H/g' /kasm_release/upgrade.sh && \ echo "exit 0" > /kasm_release/install_dependencies.sh && \ + /kasm_release/bin/utils/yq_$(uname -m) -i \ + '.services.proxy.volumes += "/kasm_release/www/img/thumbnails:/srv/www/img/thumbnails"' \ + /kasm_release/docker/docker-compose-all.yaml && \ echo "**** copy assets ****" && \ cp \ /kasm_release/www/img/thumbnails/*.png /kasm_release/www/img/thumbnails/*.svg \