commit 65e36e29317bb6d927bce74f89f8b46dcc21b16f
parent d3e4fb88ee93d33d9accbfc2c8831289a97eef69
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Fri, 14 Dec 2018 12:33:17 +0100
Merge pull request #289 from mprasil/alpine-fix
Fix failing alpine build
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
@@ -20,7 +20,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
-FROM clux/muslrust:nightly-2018-11-30 as build
+FROM clux/muslrust:nightly-2018-12-01 as build
ENV USER "root"
@@ -30,6 +30,8 @@ WORKDIR /app
# To avoid copying unneeded files, use .dockerignore
COPY . .
+RUN rustup target add x86_64-unknown-linux-musl
+
# Build
RUN cargo build --release