-
Notifications
You must be signed in to change notification settings - Fork 111
/
appimage-builder-arm64.yml
84 lines (79 loc) · 3.1 KB
/
appimage-builder-arm64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: 1
script:
- chmod +x ./appimage-reqs.sh && ./appimage-reqs.sh $(pwd)/AppDir
- cp $(pwd)/AppDir/usr/share/icons/Adwaita/scalable/apps/utilities-terminal-symbolic.svg $(pwd)/AppDir/usr/share/icons/utilities-terminal.svg
- cp $(pwd)/AppDir/usr/share/icons/Adwaita/scalable/apps/utilities-terminal-symbolic.svg $(pwd)/AppDir/usr/share/icons/Adwaita/scalable/apps/utilities-terminal.svg
AppDir:
path: ./AppDir
app_info:
id: io.shiftleft.scan
name: scan
icon: utilities-terminal
version: latest
# Set the python executable as entry point
exec: usr/bin/python3
# Set the application main script path as argument. Use '$@' to forward CLI parameters
exec_args: "$APPDIR/usr/src/scan $@"
apt:
arch: aarch64
sources:
- sourceline: 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main restricted universe multiverse'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
- sourceline: 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-updates main restricted universe multiverse'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32'
- sourceline: 'deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal-security main restricted universe multiverse'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
include:
- python3.8
- python3-pkg-resources
- git
- php
- php-json
- php-pear
- php-mbstring
- tar
files:
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
runtime:
env:
PATH: '/bin:/usr/bin:${APPDIR}/usr/bin:${APPDIR}/usr/bin/nodejs/bin:${PATH}:${APPDIR}/opt/phpsast/vendor/bin:${APPDIR}/usr/local/lib/node_modules/.bin:'
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.10/site-packages:$APPDIR/usr/lib/python3.10:$APPDIR/usr/lib/python3.10/lib-dynload'
SSL_CERT_FILE: '${APPDIR}/usr/lib/python3.10/site-packages/certifi/cacert.pem'
PYTHONUNBUFFERED: '1'
APP_SRC_DIR: '${APPDIR}/usr/src'
TOOLS_CONFIG_DIR: '${APPDIR}/usr/src/tools_config'
DEPSCAN_CMD: '${APPDIR}/usr/bin/depscan'
PMD_CMD: '${APPDIR}/opt/pmd-bin/bin/run.sh pmd'
SPOTBUGS_HOME: '${APPDIR}/opt/spotbugs'
DETEKT_JAR: '${APPDIR}/usr/bin/detekt-cli.jar'
test:
fedora:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun --help
use_host_x: true
debian:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun --help
use_host_x: true
arch:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun --help
use_host_x: true
centos:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun --help
use_host_x: true
ubuntu:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun --help
use_host_x: true
AppImage:
update-information: !ENV ${UPDATE_INFO}
sign-key: None
arch: aarch64