change docker to install crow directly.

This commit is contained in:
douwe
2025-08-06 19:22:54 +02:00
parent 1d1e348085
commit 1851792af1
2 changed files with 15 additions and 3 deletions

View File

@@ -9,12 +9,13 @@ RUN apt-get update && \
apt-get install -y cmake g++ make wget zlib1g-dev && \
apt-get clean;
# Download Crow library
RUN wget https://github.com/CrowCpp/Crow/releases/download/v1.2.1.2/Crow-1.2.1-Linux.deb && \
apt-get install -y ./Crow-1.2.1-Linux.deb
# Copy the current directory contents into the container at /app
COPY . /server
# Download Crow library
RUN apt-get install -y ./lib/crow-1.2.1.deb
# Make the build directory
RUN mkdir -p build && cd build