commit badd22ac3d1b6c364c7be59e64ec0c48f2b960dd
parent 6f78395ef71bd037fff24aeb60318c109294971a
Author: Emil Madsen <sovende@gmail.com>
Date: Mon, 20 May 2019 22:36:27 +0200
Make docker image build
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/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