Skip to content

Commit

Permalink
Adding pip upgrade and missing dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Zepeda Mas <vzepedam@redhat.com>
  • Loading branch information
chentex committed Nov 17, 2021
1 parent 1e0a3a2 commit d5f5b09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snafu/image_pull_wrapper/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM docker://registry.access.redhat.com/ubi8:latest

COPY snafu/image_resources/centos8-appstream.repo /etc/yum.repos.d/centos8-appstream.repo
RUN dnf install -y --nodocs python3 python3-pip && dnf clean all
RUN dnf install -y --nodocs python3 python3-pip python3-devel gcc && dnf clean all
RUN dnf install -y --nodocs skopeo redis --enablerepo=centos8-appstream && dnf clean all
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN mkdir -p /opt/snafu/
COPY . /opt/snafu/
RUN pip3 install --upgrade --no-cache-dir pip
RUN pip3 install -e /opt/snafu/

0 comments on commit d5f5b09

Please sign in to comment.