Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 3 - Docker build failure #229

Open
0xleastwood opened this issue Oct 11, 2020 · 0 comments
Open

Module 3 - Docker build failure #229

0xleastwood opened this issue Oct 11, 2020 · 0 comments

Comments

@0xleastwood
Copy link

0xleastwood commented Oct 11, 2020

While using Cloud9 I would run into an issue when running
docker build . -t {account_id}.dkr.ecr.{region}.amazonaws.com/mythicalmysfits/service:latest

I would get an error that the Dockerfile in MythicalMysfitsService was missing the Git command. This was causing the CodePipeline to fail for build.
github.com/aws/aws-sdk-go (download) go: missing Git command. See https://golang.org/s/gogetcmd package github.com/aws/aws-sdk-go/aws: exec: "git": executable file not found in $PATH

The fix to this was adding the RUN apk update && apk add --no-cache git line of code found in module 2's Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant