From a144a4daddfc3c78b53a7338ac2599b2bd1d1d75 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 24 Sep 2020 22:29:37 +0300 Subject: initial commit --- .gitignore | 1 + Dockerfile | 3 +++ Makefile | 14 ++++++++++++++ README | 11 +++++++++++ 4 files changed, 29 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 Makefile create mode 100644 README diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb04c75 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +carbs-rootfs.tar diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f1a321d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM scratch +ADD carbs-rootfs.tar / +CMD ["/usr/bin/sh"] diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4a521be --- /dev/null +++ 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 new file mode 100644 index 0000000..a1e19cd --- /dev/null +++ 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 -- cgit v1.2.3