Skip to content

Commit

Permalink
Make package noninteractive install more likely to succeed, fixes dde…
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jan 15, 2020
1 parent ef4ad33 commit 6246c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ RUN (groupadd --gid $gid "$username" || groupadd "$username" || true) && (userad
`
if extraPackages != nil {
contents = contents + `
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests ` + strings.Join(extraPackages, " ") + "\n"
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confnew" --no-install-recommends --no-install-suggests ` + strings.Join(extraPackages, " ") + "\n"
}
return WriteImageDockerfile(fullpath, []byte(contents))
}
Expand Down

0 comments on commit 6246c49

Please sign in to comment.