Skip to content

Commit

Permalink
NO-ISSUE: fix docker-ce-cli package missing (#5499)
Browse files Browse the repository at this point in the history
For some reason it's no longer findable even though it seems like we
correctly added the repository:
```
Complete!
Adding repo from:
https://download.docker.com/linux/centos/docker-ce.repo
CentOS Stream 9 - CRB                            12 MB/s | 5.7 MB
00:00
Last metadata expiration check: 0:00:02 ago on Mon Sep 18 13:28:09 2023.
No match for argument: docker-ce-cli
Error: Unable to find a match: docker-ce-cli

```

(see
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_assisted-service/5497/pull-ci-openshift-assisted-service-master-edge-images/1703760418561855488)

As we're no longer relying much about docker support (as podman takes
preference) we are removing its installation in the
assisted-service-build image.
  • Loading branch information
Osher De Paz committed Oct 1, 2023
1 parent 72425e3 commit 54b30e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.assisted-service-build
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ COPY --from=quay.io/operator-framework/upstream-opm-builder:v1.16.1 /bin/opm /bi
COPY --from=registry.k8s.io/kustomize/kustomize:v4.3.0 /app/kustomize /usr/bin/
COPY --from=quay.io/coreos/shellcheck-alpine:v0.5.0 /bin/shellcheck /usr/bin/shellcheck

RUN dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \
dnf install -y --enablerepo=crb \
openssl postgresql nmstate-devel sqlite gcc genisoimage git docker-ce-cli libvirt-client libvirt-devel java && \
RUN dnf install -y --enablerepo=crb \
openssl postgresql nmstate-devel sqlite gcc genisoimage git libvirt-client libvirt-devel java && \
dnf clean all

# Git checks if the user that owns the files on the filesystem match the
Expand Down

0 comments on commit 54b30e6

Please sign in to comment.