2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-31 13:15:43 +00:00

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

* 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
This commit is contained in:
Matthias Mair
2025-10-29 01:26:40 +01:00
committed by GitHub
parent 5c556a2a80
commit f47a1a4675
11 changed files with 47 additions and 97 deletions

View File

@@ -1728,7 +1728,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
@@ -1792,6 +1792,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