From 9c787b0e72df0c0bb517fc8727e48885e9c50b8e Mon Sep 17 00:00:00 2001 From: kevinnls Date: Sun, 14 Jun 2026 21:51:33 +0530 Subject: [PATCH] scaffolding pt.2 --- Containerfile | 7 ++++++- Justfile | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index b45dc4c..0d1241c 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,9 @@ -FROM docker.io/fedora:44 +FROM docker.io/fedora:44 as BUILDER + +RUN dnf install --assumeyes --setopt install_weak_deps=False \ + gcc make just + +FROM BUILDER as PACKER RUN dnf install \ --assumeyes \ diff --git a/Justfile b/Justfile index 09bc39f..af6d19c 100644 --- a/Justfile +++ b/Justfile @@ -1,2 +1,2 @@ -image: - podman build -t rpmpacker . +image TARGET='PACKER': + podman build --target {{ TARGET }} -t {{ lowercase(TARGET) }} .