Skip to content

Commit b871f76

Browse files
authored
Merge pull request #404 from thaJeztah/rm_noninteractive
Dockerfile: remove redundant DEBIAN_FRONTEND=noninteractive
2 parents aecf6e5 + 50c1460 commit b871f76

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ARG DEBIAN_VERSION=bookworm
66
ARG XX_VERSION=1.7.0
77
ARG OSXCROSS_VERSION=11.3-r8-debian
88
ARG GOLANGCI_LINT_VERSION=v2.8
9-
ARG DEBIAN_FRONTEND=noninteractive
109

1110
ARG PACKAGE=github.com/docker/docker-credential-helpers
1211

@@ -18,7 +17,6 @@ FROM crazymax/osxcross:${OSXCROSS_VERSION} AS osxcross
1817

1918
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${DEBIAN_VERSION} AS gobase
2019
COPY --from=xx / /
21-
ARG DEBIAN_FRONTEND
2220
RUN apt-get update && apt-get install -y --no-install-recommends clang dpkg-dev file git lld llvm make pkg-config rsync
2321
ENV GOFLAGS="-mod=vendor"
2422
ENV CGO_ENABLED="1"
@@ -56,7 +54,6 @@ EOT
5654

5755
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION} AS golangci-lint
5856
FROM gobase AS lint
59-
ARG DEBIAN_FRONTEND
6057
RUN apt-get install -y binutils gcc libc6-dev libgcc-11-dev libsecret-1-dev pkg-config
6158
RUN --mount=type=bind,target=. \
6259
--mount=type=cache,target=/root/.cache \
@@ -65,11 +62,9 @@ RUN --mount=type=bind,target=. \
6562

6663
FROM gobase AS base
6764
ARG TARGETPLATFORM
68-
ARG DEBIAN_FRONTEND
6965
RUN xx-apt-get install -y binutils gcc libc6-dev libgcc-11-dev libsecret-1-dev pkg-config
7066

7167
FROM base AS test
72-
ARG DEBIAN_FRONTEND
7368
RUN xx-apt-get install -y dbus-x11 gnome-keyring gpg-agent gpgconf libsecret-1-dev pass
7469
RUN --mount=type=bind,target=. \
7570
--mount=type=cache,target=/root/.cache \

deb/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ ARG SUITE=jammy
77
FROM golang:${GO_VERSION}-bookworm AS golang
88

99
FROM ${DISTRO}:${SUITE}
10-
11-
ARG DEBIAN_FRONTEND=noninteractive
1210
RUN apt-get update && apt-get install -yy debhelper dh-make libsecret-1-dev
1311
RUN mkdir -p /build
1412

0 commit comments

Comments
 (0)