aboutsummaryrefslogtreecommitdiff
path: root/build-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-docker.sh')
-rw-r--r--build-docker.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build-docker.sh b/build-docker.sh
new file mode 100644
index 0000000..9fd19c4
--- /dev/null
+++ b/build-docker.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+rm ezlive-docker-image.tar.gz
+rm -rf rootfs
+mkdir rootfs
+bash ./scripts/create_rootfs.sh ./ezlive rootfs
+cp ./ezlive ./rootfs/
+mkdir rootfs/tmp
+mkdir rootfs/etc
+cp -rL /etc/ssl rootfs/etc/
+sudo podman build -t ezlive .
+sudo podman save ezlive | gzip > ezlive-docker-image.tar.gz