diff --git a/Dockerfile.rh b/Dockerfile.rh index a49a3f83c..04a6e2594 100644 --- a/Dockerfile.rh +++ b/Dockerfile.rh @@ -44,8 +44,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o /usr/bin RUN setcap cap_net_bind_service=+ep /usr/bin/spark-operator FROM ${SPARK_IMAGE} -COPY --from=builder /usr/bin/spark-operator /usr/bin/ USER root +RUN yum install -y openssl curl tini \ + && yum clean all # Comment out the following three lines if you do not have a RedHat subscription. # COPY hack/install_packages.sh /