From 9a37a76717fa3bb118ada9188d5b0d0b2cead8e5 Mon Sep 17 00:00:00 2001 From: cyril constantin Date: Fri, 5 Jun 2026 17:00:48 +0200 Subject: [PATCH] add containerfile and makefile --- Makefile | 10 ++++++++++ README.md | 2 +- containerfile | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Makefile create mode 100644 containerfile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9e1fa2d --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +PODMAN = podman +IMAGE = debianbash + +.PHONY: build run + +build: + $(PODMAN) build -t $(IMAGE) . + +run: + $(PODMAN) run $(IMAGE) \ No newline at end of file diff --git a/README.md b/README.md index f21aafe..56a2bd7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # debian_podman -start bash in a debian from podman \ No newline at end of file +start bash in a debian from podman diff --git a/containerfile b/containerfile new file mode 100644 index 0000000..96595bc --- /dev/null +++ b/containerfile @@ -0,0 +1,4 @@ +FROM docker.io/library/debian:sid +LABEL maintainer="Cyril CONSTANTIN" +LABEL io.containers.capabilities="sys_chroot" +CMD ["/usr/bin/bash"] \ No newline at end of file