From 5de6a562bad901791a45158a1b9a7f7551f6eb0f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 28 Jul 2021 07:00:18 -0400 Subject: [PATCH] Build: Add build_{appimage,docker}.sh wrapper scripts --- build_scripts/README.md | 4 ++-- build_scripts/build_appimage.sh | 3 +++ build_scripts/build_docker.sh | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 build_scripts/build_appimage.sh create mode 100755 build_scripts/build_docker.sh diff --git a/build_scripts/README.md b/build_scripts/README.md index 60e5b68d6..f5009e498 100644 --- a/build_scripts/README.md +++ b/build_scripts/README.md @@ -13,7 +13,7 @@ Monkey packages for Linux. 1. Copy the `build_scipts/` directory to `$HOME/` in the VM. 1. On the VM, `cd $HOME/build_scripts` 1. Run `sudo -v`. -1. Execute `./build_package.sh --package appimage`. This will pull all necessary dependencies +1. Execute `./build_appimage.sh`. This will pull all necessary dependencies and build the AppImage. NOTE: This script is intended to be run from a clean VM. You can also manually @@ -35,7 +35,7 @@ artifacts. 1. Copy the `build_scipts/` directory to `$HOME/` in the VM. 1. On the VM, `cd $HOME/build_scripts` 1. Run `sudo -v`. -1. Execute `./build_package.sh --package docker`. This will pull all necessary dependencies +1. Execute `./build_docker.sh --package docker`. This will pull all necessary dependencies and build the Docker image. NOTE: This script is intended to be run from a clean VM. You can also manually diff --git a/build_scripts/build_appimage.sh b/build_scripts/build_appimage.sh new file mode 100755 index 000000000..5744336e9 --- /dev/null +++ b/build_scripts/build_appimage.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./build_package.sh --package appimage $@ diff --git a/build_scripts/build_docker.sh b/build_scripts/build_docker.sh new file mode 100755 index 000000000..585f51278 --- /dev/null +++ b/build_scripts/build_docker.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./build_package.sh --package docker $@