# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file TestDockerfile.j2 using the generate.py script

FROM mongodb/mongo-cxx-driver:3.10.1-noble

WORKDIR /build

RUN apt update && apt upgrade -y && apt install -y build-essential

COPY test.cpp /build/

RUN g++ \
    -o test \
    test.cpp \
    -I/usr/local/include/bsoncxx/v_noabi/ \
    -I/usr/local/include/mongocxx/v_noabi/ \
    -lmongocxx \
    -lbsoncxx

CMD /build/test
