noninteractive frontend for Dockerfile

This commit is contained in:
Travis Glenn Hansen 2020-11-30 23:19:11 -07:00
parent 455c0f8b3f
commit 2a6590335c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,8 @@
FROM debian:10-slim AS build
#FROM --platform=$BUILDPLATFORM debian:10-slim AS build
ENV DEBIAN_FRONTEND=noninteractive
ARG TARGETPLATFORM
ARG BUILDPLATFORM
@ -41,6 +42,8 @@ RUN rm -rf docker
######################
FROM debian:10-slim
ENV DEBIAN_FRONTEND=noninteractive
ARG TARGETPLATFORM
ARG BUILDPLATFORM