From 7f037da9c52495e4980b8fbe874f7030176eb93f Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Thu, 23 Jul 2020 05:20:40 +0200 Subject: Fix Alpine Docker build --- Dockerfile.alpine | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Dockerfile.alpine') diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 09d587c..1dcb023 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,11 +1,12 @@ # This Dockerfile results in an Alpine container containing the minishift executable. # Use this in case you need additional basic tools provided by Alpine in this container. -FROM rustlang/rust:nightly as builder +FROM rust as builder ENV APP_HOME /usr/src/app/ +RUN rustup default nightly-2020-07-20 RUN rustup target add x86_64-unknown-linux-musl -RUN apt-get update && apt-get install -y upx musl-tools +RUN apt update && apt-get install -y upx musl-tools COPY . $APP_HOME WORKDIR $APP_HOME -- cgit v1.2.3