Skip to content

Commit ec062ea

Browse files
ManaswibRaneAbhishek
authored andcommitted
Updated watchman installer (intelowlproject#3294)
1 parent 811e518 commit ec062ea

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV DJANGO_SETTINGS_MODULE=intel_owl.settings
2020
ENV PYTHONPATH=/opt/deploy/intel_owl
2121
ENV LOG_PATH=/var/log/intel_owl
2222
ARG REPO_DOWNLOADER_ENABLED=true
23-
ARG WATCHMAN=false
23+
ENV WATCHMAN=false
2424
ARG TARGETARCH
2525
ENV watch_logs_cmd="watch -n1 tail -n10 /var/log/intel_owl/django/api_app.log"
2626
# This is required to allow compatibility with different OpenCTI instances

docker/scripts/watchman_install.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ pip3 install --compile -r requirements/django-server-requirements.txt
1111
# install Watchman to enhance performance on the Django development Server
1212
# https://docs.djangoproject.com/en/3.2/ref/django-admin/#runserver
1313
cd /tmp || exit
14-
wget https://github.com/facebook/watchman/archive/refs/tags/v2024.05.13.00.zip
15-
unzip v2024.05.13.00.zip
16-
cd watchman-2024.05.13.00 || exit
14+
wget https://github.com/facebook/watchman/archive/refs/tags/v2026.02.02.00.zip
15+
unzip v2026.02.02.00.zip
16+
cd watchman-2026.02.02.00 || exit
1717
mkdir -p /usr/local/{bin,lib} /usr/local/var/run/watchman
1818
cp bin/* /usr/local/bin
1919
cp lib/* /usr/local/lib
2020
chmod 755 /usr/local/bin/watchman
2121
chmod 2777 /usr/local/var/run/watchman
22-
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
23-
dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
24-
rm -rf v2024.05.13.00.zip
22+
rm -rf v2026.02.02.00.zip

0 commit comments

Comments
 (0)