diff --git a/Dockerfile b/Dockerfile index d6b891f..10eed6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM ubuntu:22.04 as builder ENV TZ=Europe/Rome RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update && apt install -y --fix-missing --no-install-recommends \ + git \ build-essential \ software-properties-common \ cmake \ diff --git a/pcclassify.cpp b/pcclassify.cpp index d66800a..9add762 100644 --- a/pcclassify.cpp +++ b/pcclassify.cpp @@ -59,7 +59,7 @@ int main(int argc, char **argv){ ClassifierType ctype = fingerprint(modelFile); #ifndef WITH_GBT - if (ctype == GradientBoostedTrees) throw std::runtime_error(modelFile + " is a GBT model but GBT support has not been built (try building with -DWITH_GBT=ON)") << std::endl; + if (ctype == GradientBoostedTrees) throw std::runtime_error(modelFile + " is a GBT model but GBT support has not been built (try building with -DWITH_GBT=ON)"); #endif std::cout << "Model: " << (ctype == RandomForest ? "Random Forest" : "Gradient Boosted Trees") << std::endl;