minimal upgrade to node to support 24.04

pull/247/head
Stephen Mather 2025-09-10 02:36:03 +00:00
rodzic 3b29fbbc17
commit 7bfd12c2d3
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -5,7 +5,7 @@ EXPOSE 3000
USER root
RUN apt-get update && apt-get install -y curl gpg-agent
RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash -
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \
ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \
ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \

Wyświetl plik

@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
'''
import sys
import imp
import importlib
import argparse
import json
import os
@ -28,14 +28,14 @@ dest_file = os.environ.get("ODM_OPTIONS_TMP_FILE")
sys.path.append(sys.argv[2])
try:
imp.load_source('opendm', sys.argv[2] + '/opendm/__init__.py')
importlib.util.spec_from_file_location('opendm',sys.argv[2] + '/opendm/__init__.py').loader.load_module()
except:
pass
try:
imp.load_source('context', sys.argv[2] + '/opendm/context.py')
importlib.util.spec_from_file_location('context', sys.argv[2] + '/opendm/context.py').loader.load_module()
except:
pass
odm = imp.load_source('config', sys.argv[2] + '/opendm/config.py')
odm = importlib.util.spec_from_file_location('config', sys.argv[2] + '/opendm/config.py').loader.load_module()
options = {}
class ArgumentParserStub(argparse.ArgumentParser):