From cf41b5d5e8944f787fb58bbb122df909c28c87ee Mon Sep 17 00:00:00 2001 From: Jeffrey Weatherford Date: Fri, 20 Aug 2021 14:46:04 +0000 Subject: [PATCH] Update Dockerfile to make it more maintainable. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b7b3df..d915070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,10 @@ ARG spark_uid=185 USER root -COPY pip-21.1.1-py3-none-any.whl setuptools-53.0.0-py3-none-any.whl ./ +COPY *.whl ./ RUN dnf -y update && dnf -y upgrade && \ - pip3 install --upgrade ./pip-21.1.1-py3-none-any.whl ./setuptools-53.0.0-py3-none-any.whl && \ + pip3 install --upgrade ./*.whl && \ rm -rf /var/cache/dnf && \ mkdir -p /opt/spark/python/pyspark && \ mkdir -p /opt/spark/python/lib && \ -- GitLab