mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Reformat this line to be more maintainable.
This commit is contained in:
22
Dockerfile
22
Dockerfile
@@ -1,9 +1,25 @@
|
||||
FROM fedora:24
|
||||
|
||||
# so we don't have to compile those when fetched from PyPI
|
||||
RUN dnf install -y python-pip python2-setuptools python2-cffi python2-zmq python2-cryptography koji python2-pdc-client python-m2ext fedmsg-relay python-mock && \
|
||||
dnf autoremove -y && dnf clean all && \
|
||||
mkdir /opt/module_build_service/ && mkdir /etc/module_build_service
|
||||
RUN dnf install -y \
|
||||
python-pip \
|
||||
python2-setuptools \
|
||||
python2-cffi \
|
||||
python2-zmq \
|
||||
python2-cryptography \
|
||||
koji \
|
||||
python2-pdc-client \
|
||||
python-m2ext \
|
||||
fedmsg-relay \
|
||||
python-mock \
|
||||
&& \
|
||||
dnf autoremove -y \
|
||||
&& \
|
||||
dnf clean all \
|
||||
&& \
|
||||
mkdir /opt/module_build_service/ \
|
||||
&& \
|
||||
mkdir /etc/module_build_service
|
||||
WORKDIR /opt/module_build_service/
|
||||
COPY ./requirements.txt /opt/module_build_service/
|
||||
RUN pip install --user -r ./requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user