init commit

This commit is contained in:
James Pace 2025-06-30 07:55:53 -04:00
commit 9d83fa256a
3 changed files with 17 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -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

4
Dockerfile.test Normal file
View File

@ -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

2
script.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
buildah --storage-driver=vfs bud -f /app/Dockerfile.test -t test /app