File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN echo 'deb https://package.perforce.com/apt/ubuntu jammy release' > /etc/apt/
58
58
# hadolint ignore=DL3008,DL3009
59
59
RUN apt-get update && \
60
60
apt-get install --no-install-recommends -y git subversion mercurial cvs cssc bzr rcs rcs-blame helix-p4d \
61
- unzip inotify-tools python3 python3-pip \
61
+ unzip python3 python3-pip \
62
62
python3-venv python3-setuptools openssh-client libyaml-dev
63
63
64
64
# compile and install universal-ctags
@@ -72,14 +72,18 @@ RUN apt-get install --no-install-recommends -y pkg-config automake build-essenti
72
72
apt-get clean && \
73
73
rm -rf /var/lib/apt/lists/*
74
74
75
+ # Update the Python tooling in order to successfully install the opengrok-tools package.
76
+ # hadolint ignore=DL3013
77
+ RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools
78
+
75
79
# prepare OpenGrok binaries and directories
76
80
# hadolint ignore=DL3010
77
81
COPY --from=build opengrok.tar.gz /opengrok.tar.gz
78
82
# hadolint ignore=DL3013
79
83
RUN mkdir -p /opengrok /opengrok/etc /opengrok/data /opengrok/src && \
80
84
tar -zxvf /opengrok.tar.gz -C /opengrok --strip-components 1 && \
81
85
rm -f /opengrok.tar.gz && \
82
- python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools* && \
86
+ python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools.tar.gz && \
83
87
python3 -m pip install --no-cache-dir Flask Flask-HTTPAuth waitress # for /reindex REST endpoint handled by start.py
84
88
85
89
COPY --from=build /mvn/VERSION /opengrok/VERSION
You can’t perform that action at this time.
0 commit comments