2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-13 19:36:46 +00:00

refactor(backend): switch to empty buildpack for package, extend supported OS versions (#10705) (#10712)

* bump vers

* fix ssl?

Added build dependencies for libbz2, libffi, and libssl.

* try empty buildpack

* clean up

* fix ref

* remove things we now do not need anymore

* add 22.04 as a target

* cleanup installer

* add changelog entry

* add dotenv

* update skript

* make task more robust for package usage

* ensure we have a site-url set

* fix style

* fix syntax

(cherry picked from commit f47a1a4675)
This commit is contained in:
Matthias Mair
2025-10-29 10:12:49 +01:00
committed by GitHub
parent babe952bcf
commit 02fc02ffd1
10 changed files with 46 additions and 97 deletions

View File

@@ -1672,7 +1672,7 @@ def frontend_download(
# if clean, delete static/web directory
if clean:
shutil.rmtree(dest_path, ignore_errors=True)
dest_path.mkdir()
dest_path.mkdir(parents=True, exist_ok=True)
info(f'Cleaned directory: {dest_path}')
# unzip build to static folder
@@ -1736,6 +1736,7 @@ def frontend_download(
# if zip file is specified, try to extract it directly
if file:
handle_extract(file)
static(c, frontend=False, skip_plugins=True)
return
# check arguments