commit 9d83fa256aa6b88428573e34b2d056553c8e18eb Author: James Pace Date: Mon Jun 30 07:55:53 2025 -0400 init commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..31e9abd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM quay.io/buildah/upstream:latest + +# Add skopeo. +RUN dnf install -y skopeo \ + --exclude container-selinux \ + --enablerepo=updates-testing + +# Add wget, use it to install cosign. +RUN dnf install -y wget && \ + wget https://github.com/sigstore/cosign/releases/download/v2.5.2/cosign-2.5.2-1.x86_64.rpm && \ + rpm -ivh cosign*.rpm \ No newline at end of file diff --git a/Dockerfile.test b/Dockerfile.test new file mode 100644 index 0000000..805cedf --- /dev/null +++ b/Dockerfile.test @@ -0,0 +1,4 @@ +FROM registry.fedoraproject.org/fedora:latest + +RUN dnf install -y wget +RUN useradd -m -G wheel -s /bin/bash -u 1000 test \ No newline at end of file diff --git a/script.sh b/script.sh new file mode 100755 index 0000000..5c0eeac --- /dev/null +++ b/script.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +buildah --storage-driver=vfs bud -f /app/Dockerfile.test -t test /app