diff --git a/pkg/buildx/Dockerfile b/pkg/buildx/Dockerfile index 5a069770..ca697ef2 100644 --- a/pkg/buildx/Dockerfile +++ b/pkg/buildx/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" ARG DISTRO_NAME="debian12" ARG DISTRO_TYPE="deb" @@ -84,7 +83,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" @@ -156,7 +154,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git make zip tar ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" diff --git a/pkg/cagent/Dockerfile b/pkg/cagent/Dockerfile index 677fccb7..99c821de 100644 --- a/pkg/cagent/Dockerfile +++ b/pkg/cagent/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" ARG DISTRO_NAME="debian12" ARG DISTRO_TYPE="deb" @@ -89,7 +88,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" @@ -161,7 +159,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar \ dpkg-dev clang make pkg-config curl ARG ZIG_VERSION diff --git a/pkg/compose/Dockerfile b/pkg/compose/Dockerfile index d82b60c4..b77410f5 100644 --- a/pkg/compose/Dockerfile +++ b/pkg/compose/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" ARG DISTRO_NAME="debian12" ARG DISTRO_TYPE="deb" @@ -87,7 +86,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" @@ -159,7 +157,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static-nosdk COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar \ dpkg-dev clang lld llvm make pkg-config ENV GOPROXY="https://proxy.golang.org|direct" @@ -191,7 +188,6 @@ FROM builder-static-nosdk AS builder-static-windows FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static-darwin COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar \ dpkg-dev clang lld llvm make pkg-config ENV GOPROXY="https://proxy.golang.org|direct" diff --git a/pkg/containerd/Dockerfile b/pkg/containerd/Dockerfile index 6eae9212..7975dff6 100644 --- a/pkg/containerd/Dockerfile +++ b/pkg/containerd/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" # https://github.com/containerd/containerd/blob/main/.github/workflows/ci.yml#L111 ARG MD2MAN_VERSION="v2.0.2" @@ -167,7 +166,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV GOTOOLCHAIN="local" @@ -244,7 +242,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git gperf zip tar \ dpkg-dev clang make pkg-config ENV GOPROXY="https://proxy.golang.org|direct" diff --git a/pkg/credential-helpers/Dockerfile b/pkg/credential-helpers/Dockerfile index 2773fda3..693e4bea 100644 --- a/pkg/credential-helpers/Dockerfile +++ b/pkg/credential-helpers/Dockerfile @@ -16,7 +16,6 @@ ARG XX_VERSION="1.9.0" ARG OSXCROSS_VERSION="11.3-r7-debian" -ARG DEBIAN_FRONTEND="noninteractive" ARG DISTRO_NAME="debian12" ARG DISTRO_TYPE="deb" @@ -88,7 +87,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" @@ -158,7 +156,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static-nosdk COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar \ dpkg-dev clang make pkg-config ENV GOPROXY="https://proxy.golang.org|direct" @@ -184,7 +181,6 @@ FROM builder-static-nosdk AS builder-static-windows FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static-darwin COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar \ dpkg-dev clang make pkg-config ENV GOPROXY="https://proxy.golang.org|direct" diff --git a/pkg/docker-cli/Dockerfile b/pkg/docker-cli/Dockerfile index a90c431a..a38e9cb8 100644 --- a/pkg/docker-cli/Dockerfile +++ b/pkg/docker-cli/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" # https://github.com/docker/cli/blob/master/Dockerfile#L9 ARG GOVERSIONINFO_VERSION="v1.4.1" @@ -90,7 +89,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV GOTOOLCHAIN="local" @@ -171,7 +169,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS build-base-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" @@ -186,7 +183,6 @@ RUN --mount=type=bind,from=gocross,source=/usr/local/go,target=/usr/local/go,rw GOBIN=/out GO111MODULE=on go install "github.com/josephspurrier/goversioninfo/cmd/goversioninfo@${GOVERSIONINFO_VERSION}" FROM build-base-static AS builder-static-nosdk -ARG DEBIAN_FRONTEND RUN apt-get install -y --no-install-recommends dpkg-dev clang lld llvm make pkg-config ARG PKG_NAME ARG PKG_REF @@ -206,7 +202,6 @@ FROM builder-static-nosdk AS builder-static-linux FROM builder-static-nosdk AS builder-static-windows FROM build-base-static AS builder-static-darwin -ARG DEBIAN_FRONTEND RUN apt-get install -y --no-install-recommends dpkg-dev clang lld llvm make pkg-config ARG PKG_NAME ARG PKG_REF diff --git a/pkg/docker-engine/Dockerfile b/pkg/docker-engine/Dockerfile index debf6164..d88ca837 100644 --- a/pkg/docker-engine/Dockerfile +++ b/pkg/docker-engine/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" # https://github.com/moby/moby/blob/master/Dockerfile#L157 ARG GOWINRES_VERSION="v0.3.1" @@ -87,7 +86,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV GOTOOLCHAIN="local" @@ -180,7 +178,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS build-base-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" @@ -194,7 +191,6 @@ RUN --mount=type=bind,from=gocross,source=/usr/local/go,target=/usr/local/go,rw GOBIN=/out GO111MODULE=on go install "github.com/tc-hib/go-winres@${GOWINRES_VERSION}" FROM build-base-static AS builder-static -ARG DEBIAN_FRONTEND RUN apt-get install -y --no-install-recommends clang cmake gcc libc6-dev lld llvm make pkg-config ARG PKG_NAME ARG PKG_REF diff --git a/pkg/model/Dockerfile b/pkg/model/Dockerfile index d467d8c4..8312e279 100644 --- a/pkg/model/Dockerfile +++ b/pkg/model/Dockerfile @@ -15,7 +15,6 @@ # limitations under the License. ARG XX_VERSION="1.9.0" -ARG DEBIAN_FRONTEND="noninteractive" ARG DISTRO_NAME="debian12" ARG DISTRO_TYPE="deb" @@ -87,7 +86,6 @@ COPY --from=metadata-builder /out / # deb FROM ${DISTRO_IMAGE} AS builder-deb COPY --from=xx / / -ARG DEBIAN_FRONTEND ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go" ENV PATH="$PATH:/usr/local/go/bin:$GOPATH/bin" @@ -159,7 +157,6 @@ RUN --mount=type=bind,source=scripts/pkg-rpm-build.sh,target=/usr/local/bin/pkg- # static FROM --platform=$BUILDPLATFORM ${DISTRO_IMAGE} AS builder-static COPY --from=xx / / -ARG DEBIAN_FRONTEND RUN apt-get update && apt-get install -y --no-install-recommends bash ca-certificates file git zip tar ENV GOPROXY="https://proxy.golang.org|direct" ENV GOPATH="/go"