Updated rust images and enabled minimal profile

This commit is contained in:
Daniel García
2019-11-24 17:52:54 +01:00
parent 607521c88f
commit cf5a985b31
12 changed files with 52 additions and 28 deletions

View File

@ -22,11 +22,14 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
FROM clux/muslrust:nightly-2019-10-19 as build
FROM clux/muslrust:nightly-2019-11-23 as build
# set mysql backend
ARG DB=postgresql
# Don't download rust docs
RUN rustup set profile minimal
ENV USER "root"
# Install needed libraries