summaryrefslogtreecommitdiff
path: root/config/apt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/apt_test.go')
-rw-r--r--config/apt_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/apt_test.go b/config/apt_test.go
index 751bfcd..df2480d 100644
--- a/config/apt_test.go
+++ b/config/apt_test.go
@@ -40,6 +40,9 @@ func TestAptConfigInstructions(t *testing.T) {
t.Run("PhasePrivileged", func(t *testing.T) {
assert.Equal(t,
[]build.Instruction{
+ build.Env{map[string]string{
+ "DEBIAN_FRONTEND": "noninteractive",
+ }},
build.RunAll{[]build.Run{
{"apt-get update", []string{}},
{"apt-get install -y", []string{"libfoo", "libbar"}},