diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-03-12 18:08:38 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-03-12 18:08:38 -0400 |
| commit | 02bf1874ef7a5d474dbf421cde3eda81e05807d5 (patch) | |
| tree | 4dd9e45ba8349f1b56fa41829d73375a95cda7f2 /tools/build-debian | |
| parent | 8f19e3fcb83dd7c7f61f82378a9904697361a87c (diff) | |
Set up a Debian-based builder, to make it easier to distribute this to AMIs.
Diffstat (limited to 'tools/build-debian')
| -rwxr-xr-x | tools/build-debian | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/build-debian b/tools/build-debian new file mode 100755 index 0000000..e589fa4 --- /dev/null +++ b/tools/build-debian @@ -0,0 +1,17 @@ +#!/bin/bash -e + +## tools/build-builder +## +## Builds a Debian package for the current tree. Output in ./target/debian. +## +## Requires the Debian builder (see tools/build-builder). + +cd "$(dirname "$0")/.." + +docker run \ + --rm \ + --interactive \ + --tty \ + --volume "$PWD:/app" \ + "aws-autoscaling-dns-builder:$(tools/version)" \ + cargo deb |
