mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 18:22:37 +02:00

Remove --patform args completely so that by default we build natively on each platform. Partial fix for #50
12 lines
389 B
Bash
Executable file
12 lines
389 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo "Building container image"
|
|
podman build container --tag dangerzone.rocks/dangerzone
|
|
|
|
echo "Saving and compressing container image"
|
|
podman save dangerzone.rocks/dangerzone | gzip > share/container.tar.gz
|
|
|
|
echo "Looking up the image id"
|
|
podman image ls dangerzone.rocks/dangerzone | grep "dangerzone.rocks/dangerzone" | tr -s ' ' | cut -d' ' -f3 > share/image-id.txt
|