change docker to install crow directly.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user