diff --git a/Dockerfile b/Dockerfile index a82a69b..6924f6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ FROM public.ecr.aws/docker/library/fedora:40 as build WORKDIR /work +RUN dnf update --best -y + # download and install cosign RUN curl -L -O https://github.com/sigstore/cosign/releases/download/v2.2.4/cosign-2.2.4-1.x86_64.rpm && \ curl -L -O https://github.com/sigstore/cosign/releases/download/v2.2.4/cosign-2.2.4-1.x86_64.rpm-keyless.pem && \ @@ -22,6 +24,8 @@ FROM public.ecr.aws/docker/library/fedora:40 WORKDIR /work +RUN dnf update --best -y + # install necessary cloud-server packages RUN dnf group install -y cloud-server-environment --exclude=plymouth* \ --exclude=geolite* \