Skip to content

Commit

Permalink
fix: docker file to run update for builds
Browse files Browse the repository at this point in the history
Signed-off-by: Shubharanshu Mahapatra <[email protected]>
  • Loading branch information
Shubhranshu153 committed Jul 9, 2024
1 parent ab01717 commit c196cb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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* \
Expand Down

0 comments on commit c196cb8

Please sign in to comment.