commit 063dfcf487db9485d9cbf76bf66be534ddd82f4c
parent d3e4fb88ee93d33d9accbfc2c8831289a97eef69
Author: Miroslav Prasil <miroslav@prasil.info>
Date: Thu, 13 Dec 2018 23:16:36 +0000
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