Closed sootysec closed 4 years ago
Hi @ducksecops! Thank you for opening this pull request!
A couple things:
go.mod
to 1.14.
You can do this using the go mod edit -go=1.14
command. (see the current build failure)DEBIAN_FRONTEND
to noninteractive
as an environment variable in the Dockerfile. This setting persists after build, and can cause issues if anyone debugging in the container ever does open an interactive shell. Is the lack of noninteractive
being set causing issues? If needed, I think we could probably just set it like so in the Dockerfile instead:
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install.........
As far as I'm aware it only throws up a few warning messages if not set (without failing) - but I could be wrong!
I suspect there may also be some other small syntax/logic changes needed as part of the move to go 1.14 (we'll see once the build succeeds). If you don't have the time to look into those - I'd be happy to.
Hi @ducksecops,
To keep this moving forward I've finished off and merged this change here: https://github.com/buzzfeed/sso/pull/298.
Thanks again!
Problem
Golang 1.12 is now EOL. Can't locate Term/ReadLine.pm in @INC in docker build.
Solution
Update dockerfile to use golang:1.14 as build image. Added "ENV DEBIAN_FRONTEND noninteractive" to dockerfile
Notes
Other pertinent information. Examples: a walkthrough of how the solution might work, why this solution is optimal compared to other possible solutions, or further TODOs beyond this PR.