Browse Source

Make docker image build

Emil Madsen 6 years ago
parent
commit
badd22ac3d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Dockerfile

+ 6 - 0
Dockerfile

@@ -29,6 +29,12 @@ FROM rust as build
 #    --no-install-recommends\
 # && rm -rf /var/lib/apt/lists/*
 
+# Install MySQL package
+RUN apt-get update && apt-get install -y \
+    libmysql++-dev \
+    --no-install-recommends \
+ && rm -rf /var/lib/apt/lists/*
+
 # Creates a dummy project used to grab dependencies
 RUN USER=root cargo new --bin app
 WORKDIR /app