Commit 282ab920 authored by Tom-R Kvalvaag's avatar Tom-R Kvalvaag
Browse files

fix: added new options needed in Dockerfile according to base-image changelog

parent 5ea465f0
......@@ -4,6 +4,11 @@
ARG BASE_IMAGE=ekidd/rust-musl-builder:stable
FROM $BASE_IMAGE AS build
# Need to set these to use rustup
# https://github.com/emk/rust-musl-builder/blob/0dab4b64c7c7f29beff5482643d796ef1db1c35e/CHANGELOG.md
USER root
env RUSTUP_HOME=/opt/rust/rustup CARGO_HOME=/opt/rust/cargo
# Download the target for static linking.
RUN rustup set profile minimal
RUN rustup target add x86_64-unknown-linux-musl
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment