mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
KASM-5299 patchup arm build
This commit is contained in:
parent
4e0afc82b9
commit
b066a8d99a
@ -82,7 +82,6 @@ multiImages:
|
||||
- dockerfile-kasm-nessus
|
||||
- src/ubuntu/install/chromium/**
|
||||
- src/ubuntu/install/nessus/**
|
||||
- src/ubuntu/install/tools/**
|
||||
- src/ubuntu/install/cleanup/**
|
||||
- name: opensuse-15-desktop
|
||||
base: core-opensuse-15
|
||||
|
@ -18,6 +18,9 @@ RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chr
|
||||
COPY ./src/ubuntu/install/nessus $INST_SCRIPTS/nessus/
|
||||
RUN bash $INST_SCRIPTS/nessus/install_nessus.sh && rm -rf $INST_SCRIPTS/nessus/
|
||||
|
||||
COPY ./src/ubuntu/install/cleanup $INST_SCRIPTS/cleanup/
|
||||
RUN bash $INST_SCRIPTS/cleanup/cleanup.sh && rm -rf $INST_SCRIPTS/cleanup/
|
||||
|
||||
COPY ./src/ubuntu/install/nessus/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
||||
|
@ -6,7 +6,7 @@ ARCH=$(arch | sed 's/x86_64/amd64/g')
|
||||
apt-get update
|
||||
apt-get install -y jq
|
||||
|
||||
NESSUS_URL=$(curl --request GET --url https://www.tenable.com/downloads/api/v2/pages/nessus --header 'accept: application/json' | jq -r '.releases.latest[][] | select(.file_url | contains("ubuntu1404")) | .file_url' | grep $ARCH)
|
||||
NESSUS_URL=$(curl --request GET --url https://www.tenable.com/downloads/api/v2/pages/nessus --header 'accept: application/json' | jq -r '.releases.latest[][] | select(.file_url | contains("ubuntu")) | .file_url' | grep $ARCH)
|
||||
NESSUS_UPDATES_URL=$(curl --request GET --url https://www.tenable.com/downloads/api/v2/pages/nessus --header 'accept: application/json' | jq -r '.releases.latest[][] | select(.file_url | contains("nessus-updates-latest")) | .file_url')
|
||||
|
||||
cd /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user