diff --git a/projects/open62541/Dockerfile b/projects/open62541/Dockerfile index a06d47d9fc19..c9d79ed7eaf7 100644 --- a/projects/open62541/Dockerfile +++ b/projects/open62541/Dockerfile @@ -15,13 +15,7 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder:ubuntu-24-04 -RUN apt-get update && apt-get install -y make cmake python-six wget -# We need libmbedtls > 2.5.1 otherwise it does not include the lib for static linking -RUN wget https://open62541.org/libmbedtls/libmbedtls-dev_2.6.0-1_amd64.deb && \ - wget https://open62541.org/libmbedtls/libmbedcrypto0_2.6.0-1_amd64.deb && \ - wget https://open62541.org/libmbedtls/libmbedtls10_2.6.0-1_amd64.deb && \ - wget https://open62541.org/libmbedtls/libmbedx509-0_2.6.0-1_amd64.deb && \ - dpkg -i *.deb +RUN apt-get update && apt-get install -y make cmake python3-six wget libmbedtls-dev RUN git clone --depth 1 https://github.com/open62541/open62541.git -bmaster open62541 WORKDIR open62541 RUN git submodule update --init --recursive diff --git a/projects/open62541/build.sh b/projects/open62541/build.sh index 74051db21d83..4ecc70266935 100755 --- a/projects/open62541/build.sh +++ b/projects/open62541/build.sh @@ -28,7 +28,7 @@ cd $WORK/open62541 # > 600 No LOG output cmake -DCMAKE_BUILD_TYPE=Debug -DUA_ENABLE_AMALGAMATION=OFF \ - -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \ + -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \ -DBUILD_SHARED_LIBS=OFF -DUA_BUILD_EXAMPLES=OFF -DUA_LOGLEVEL=600 \ -DUA_ENABLE_ENCRYPTION=ON \ -DUA_BUILD_OSS_FUZZ=ON \