diff --git a/Dockerfile b/Dockerfile index 053df16..e64ab56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM quay.io/fedora/python-311:latest MAINTAINER https://github.com/SatelliteQE -RUN dnf install -y gcc git make cmake libffi-devel openssl-devel python3-devel \ - python3-pip redhat-rpm-config which libcurl-devel libxml2-devel - -COPY / /satellite6-upgrade/ +COPY --chown=1001:0 / /satellite6-upgrade/ WORKDIR /satellite6-upgrade ENV PYCURL_SSL_LIBRARY=openssl RUN pip install -r requirements.txt + +USER 0 +RUN fix-permissions ${APP_ROOT} -P