diff options
author | Robert Griebl <[email protected]> | 2022-07-29 23:18:37 +0200 |
---|---|---|
committer | Robert Griebl <[email protected]> | 2023-08-04 12:59:01 +0000 |
commit | b3665620377a06f7b7a012e2ae7b69d222fae435 (patch) | |
tree | 8a012e3ffd952197401f79a396e55e3850fee5ce /docker-manage.sh | |
parent | 7259d1a839a698e68bc4a7020a63d2aca79a5ec6 (diff) |
PLEASE NOTE: This project is not maintained anymore. It was ported to
a Qt 6 cmake setup and a more modern Django and Python version to at
least keep it usable for legacy projects.
For non-production use-cases, please switch to the new
appman-package-server available in the Qt Application Manager
starting with version 6.7.
Task-number: AUTOSUITE-1368
Change-Id: Idc4f2490a2a4399c03fce761250f4b5ac2612a45
Reviewed-by: Dominik Holland <[email protected]>
Diffstat (limited to 'docker-manage.sh')
-rwxr-xr-x | docker-manage.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docker-manage.sh b/docker-manage.sh new file mode 100755 index 0000000..e1cef29 --- /dev/null +++ b/docker-manage.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +#export APPSTORE_PLATFORM_ID NEPTUNE3 +#export APPSTORE_PLATFORM_VERSION 2 +#export APPSTORE_DOWNLOAD_EXPIRY 10 +#export APPSTORE_BIND_TO_DEVICE_ID 1 +#export APPSTORE_NO_SECURITY 1 +#export APPSTORE_STORE_SIGN_PKCS12_CERTIFICATE certificates/store.p12 +#export APPSTORE_STORE_SIGN_PKCS12_PASSWORD password +#export APPSTORE_DEV_VERIFY_CA_CERTIFICATES certificates/ca.crt,certificates/devca.crt + +IT="" +if [ "x$1" = "x-it" ]; then + shift + IT=-it +fi + +cd `dirname $0`/.. +mkdir -p data + +exec docker run $IT \ + -p 8080:8080 \ + -v `pwd`/data:/data \ + -e APPSTORE_PLATFORM_ID \ + -e APPSTORE_PLATFORM_VERSION \ + -e APPSTORE_DOWNLOAD_EXPIRY \ + -e APPSTORE_BIND_TO_DEVICE_ID \ + -e APPSTORE_NO_SECURITY \ + -e APPSTORE_STORE_SIGN_PKCS12_CERTIFICATE \ + -e APPSTORE_STORE_SIGN_PKCS12_PASSWORD \ + -e APPSTORE_DEV_VERIFY_CA_CERTIFICATES \ + qtauto-deployment-server "$@" |