diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | Dockerfile | 3 | ||||
| -rw-r--r-- | build-docker.sh | 9 |
3 files changed, 13 insertions, 2 deletions
@@ -7,5 +7,4 @@ a.out config rootfs conf -Dockerfile -*.tar.gz
\ No newline at end of file +*.tar.gz diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..eee2b8d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM scratch +COPY rootfs / +ENTRYPOINT ["/ezlive", "/etc/ezlive/config"] diff --git a/build-docker.sh b/build-docker.sh new file mode 100644 index 0000000..af9bb31 --- /dev/null +++ b/build-docker.sh @@ -0,0 +1,9 @@ +sudo rm -rf rootfs +mkdir rootfs +mkdir rootfs/etc +mkdir rootfs/etc/ezlive/ +create_rootfs.sh ezlive rootfs/ +cp ezlive rootfs/ +cp -L -r /etc/ssl rootfs/etc/ +sudo podman build -t ezlive . +sudo podman save ezlive | gzip > ezlive-docker-image.tar.gz |
