File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,10 @@ COPY --from=build opengrok.tar.gz /opengrok.tar.gz
84
84
RUN mkdir -p /opengrok /opengrok/etc /opengrok/data /opengrok/src && \
85
85
tar -zxvf /opengrok.tar.gz -C /opengrok --strip-components 1 && \
86
86
rm -f /opengrok.tar.gz && \
87
- python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools.tar.gz && \
88
- python3 -m pip install --no-cache-dir Flask Flask-HTTPAuth waitress # for /reindex REST endpoint handled by start.py
87
+ python3 -m venv /venv
88
+ ENV PATH=/venv/bin:$PATH
89
+ RUN /venv/bin/python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools.tar.gz && \
90
+ /venv/bin/python3 -m pip install --no-cache-dir Flask Flask-HTTPAuth waitress # for /reindex REST endpoint handled by start.py
89
91
90
92
COPY --from=build /mvn/VERSION /opengrok/VERSION
91
93
You can’t perform that action at this time.
0 commit comments