@@ -8,26 +8,26 @@ RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
88RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo
99
1010RUN yum -y install \
11- epel-release \
12- fontconfig \
13- freetype \
14- gcc \
15- libXi \
16- libXrender \
17- libxkbcommon-x11.x86_64 \
18- mesa-libGL \
19- python-devel \
20- which \
21- Xvfb \
22- xcb-util-image.x86_64 \
23- xcb-util-keysyms.x86_64 \
24- xcb-util-renderutil.x86_64 \
25- xcb-util-wm.x86_64
11+ epel-release \
12+ fontconfig \
13+ freetype \
14+ gcc \
15+ libXi \
16+ libXrender \
17+ libxkbcommon-x11.x86_64 \
18+ mesa-libGL \
19+ python-devel \
20+ which \
21+ Xvfb \
22+ xcb-util-image.x86_64 \
23+ xcb-util-keysyms.x86_64 \
24+ xcb-util-renderutil.x86_64 \
25+ xcb-util-wm.x86_64
2626
2727RUN yum -y install \
28- python36 \
29- python36-devel \
30- python36-pip
28+ python36 \
29+ python36-devel \
30+ python36-pip
3131
3232RUN python3.6 -m pip install --upgrade pip
3333RUN python3.6 -m pip install --upgrade setuptools
@@ -45,16 +45,17 @@ COPY pycue/README.md ./pycue/
4545COPY pycue/setup.py ./pycue/
4646COPY pycue/FileSequence ./pycue/FileSequence
4747COPY pycue/opencue ./pycue/opencue
48+ COPY ci/fix_compiled_proto.py .
4849
4950RUN python3.6 -m grpc_tools.protoc \
50- -I=./proto \
51- --python_out=./pycue/opencue/compiled_proto \
52- --grpc_python_out=./pycue/opencue/compiled_proto \
53- ./proto/*.proto
51+ -I=./proto \
52+ --python_out=./pycue/opencue/compiled_proto \
53+ --grpc_python_out=./pycue/opencue/compiled_proto \
54+ ./proto/*.proto
5455
5556# Fix imports to work in both Python 2 and 3. See
5657# <https://github.com/protocolbuffers/protobuf/issues/1491> for more info.
57- RUN python3 ci /fix_compiled_proto.py pycue/opencue/compiled_proto
58+ RUN python3 . /fix_compiled_proto.py pycue/opencue/compiled_proto
5859
5960COPY cuegui/README.md ./cuegui/
6061COPY cuegui/setup.py ./cuegui/
@@ -71,7 +72,7 @@ RUN cd cuegui && xvfb-run -d python3.6 setup.py test
7172RUN cp LICENSE requirements.txt requirements_gui.txt VERSION cuegui/
7273
7374RUN versioned_name="cuegui-$(cat ./VERSION)-all" \
74- && mv cuegui "${versioned_name}" \
75- && tar -cvzf "${versioned_name}.tar.gz" ${versioned_name}/* \
76- && mkdir -p /opt/opencue \
77- && cp "${versioned_name}.tar.gz" /opt/opencue/
75+ && mv cuegui "${versioned_name}" \
76+ && tar -cvzf "${versioned_name}.tar.gz" ${versioned_name}/* \
77+ && mkdir -p /opt/opencue \
78+ && cp "${versioned_name}.tar.gz" /opt/opencue/
0 commit comments