You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dockerfile --local can only be used inside a git repository
Description:
Fails to build with default configuration.
To Reproduce:
Build docker using docker build -t lyft/cartography .
Logs:
=> ERROR [10/10] RUN /usr/bin/git config --local user.name "cartography" 0.2s
------
> [10/10] RUN /usr/bin/git config --local user.name "cartography":
0.203 fatal: --local can only be used inside a git repository
------
Dockerfile:33
--------------------
31 | # and the user that is going to run the unit&integ tests.
32 | RUN git config --global --add safe.directory /srv/cartography
33 | >>> RUN /usr/bin/git config --local user.name "cartography"
34 |
--------------------
ERROR: failed to solve: process "/bin/sh -c /usr/bin/git config --local user.name \"cartography\"" did not complete successfully: exit code: 128
Screenshots:
The text was updated successfully, but these errors were encountered:
#1364)
### Summary
> Describe your changes.
Addresses #1363 and #1347.
- Updates all relevant documentation to prefer running docker-compose
for end-users.
- Provides documentation on how to use docker and docker-compose for
developers.
### Checklist
Provide proof that this works (this makes reviews move faster). Please
perform one or more of the following:
- [ ] Update/add unit or integration tests.
- [x] Include a screenshot showing what the graph looked like before and
after your changes.
- [ ] Include console log trace showing what happened before and after
your changes.
#### Proof that this works
- Running an AWS sync using docker-compose
<img width="988" alt="docker-compose-run"
src="https://github.com/user-attachments/assets/33432890-a8be-4630-9340-60e8875d55d6">
CLI used:
```
docker-compose run -e AWS_PROFILE=1234_testprofile -e
AWS_DEFAULT_REGION=us-east-1 cartography --neo4j-uri
bolt://cartography-neo4j-1:7687
```
Dockerfile --local can only be used inside a git repository
Description:
To Reproduce:
Logs:
Screenshots:
The text was updated successfully, but these errors were encountered: