commit a144a4daddfc3c78b53a7338ac2599b2bd1d1d75
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 24 Sep 2020 22:29:37 +0300
initial commit
Diffstat:
4 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+carbs-rootfs.tar
diff --git a/Dockerfile b/Dockerfile
@@ -0,0 +1,3 @@
+FROM scratch
+ADD carbs-rootfs.tar /
+CMD ["/usr/bin/sh"]
diff --git a/Makefile b/Makefile
@@ -0,0 +1,14 @@
+TARBALL = carbs-rootfs.tar.xz
+URL = https://dl.carbslinux.org/releases/x86_64/${TARBALL}
+
+all: carbs-rootfs.tar
+ docker build -t carbslinux/base .
+ @echo Done.
+
+carbs-rootfs.tar:
+ @echo You will need to acquire/build Carbs Linux rootfs image. You can download
+ @echo through \'make download\', which requires curl, or you can use the URL in
+ @echo the Makefile to do it by yourself.
+
+download:
+ curl -Lo- ${URL} | xz -cd - > carbs-rootfs.tar
diff --git a/README b/README
@@ -0,0 +1,11 @@
+carbslinux docker image
+-----------------------
+
+Docker image for Carbs Linux, generated from the latest rootfs tarball. To
+build the image you can run:
+
+ make download
+ make
+
+If you want to install docker on Carbs Linux, obtain the docker repository
+from https://github.com/cemkeylan/cpt-docker