Verified Commit 548bd051 authored by tr's avatar tr
Browse files

Add labels to docker image

parent cc4474a0
Pipeline #4841 failed with stages
FROM centos:8
LABEL name="mock" \
version="1" \
architecture="x86_64" \
usage="docker run -it --rm mock /bin/sh -c 'rpmdev-setuptree; spectool -g -R pkg.spec; rpmbuild -bs pkg.spec; mock -r epel-8-x86_64 --init; mock -r epel-8-x86_64 rebuild $HOME/rpmbuild/SRPMS/pkg-*'" \
summary="Mock build environment"
RUN dnf install -y epel-release sudo && \
dnf install -y mock rpmdevtools && \
rm -rf /var/cache/* /var/log/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment