File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
scripts/docker/base/ubuntu Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 22
33# Exit script in case of error
44set -e
5- source /usr/src/venv/bin/activate
65
76INVOKE_LOG_STDOUT=${INVOKE_LOG_STDOUT:- FALSE}
87invoke () {
Original file line number Diff line number Diff line change @@ -35,8 +35,14 @@ RUN . /usr/src/venv/bin/activate
3535RUN pip3 install uwsgi \
3636 && pip install pip --upgrade \
3737 && pip install wheel==0.38.1 \
38+ && pip install invoke==2.2.0 \
3839 && pip install GDAL==3.8.4
3940
41+ # Create symlink for "invoke" command
42+ # Required after installing via pip inside a virtualenv and avoid changing the
43+ # entrypoint.sh in existing GeoNode Projects where /usr/local/bin/invoke is used
44+ RUN ln -s $(which invoke) /usr/local/bin/invoke
45+
4046# Install "sherlock" to be used with "memcached"
4147RUN pip install sherlock
4248
You can’t perform that action at this time.
0 commit comments