From 14e9f7ee3540fa8c6058c064f19c348ce2a0f84e Mon Sep 17 00:00:00 2001 From: Ruakij Date: Wed, 23 Nov 2022 18:41:36 +0100 Subject: [PATCH] Combine update and make --- tools/bandwhich/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/bandwhich/Dockerfile b/tools/bandwhich/Dockerfile index 5cbd3fb..2cdbfe9 100644 --- a/tools/bandwhich/Dockerfile +++ b/tools/bandwhich/Dockerfile @@ -10,10 +10,8 @@ WORKDIR /build RUN apk add --no-cache make libc-dev build-base # Copy sources ADD .build/repository/ . -# Update dependencies -RUN cargo update -# Compile -RUN TARGET="release" make +# Update dependencies and Compile +RUN cargo update && TARGET="release" make # ---- Release ----