awslabs / git-secrets

Prevents you from committing secrets and credentials into git repositories
Apache License 2.0
12.36k stars 1.17k forks source link

not installing - debian buster #160

Closed chrisdlangton closed 4 years ago

chrisdlangton commented 4 years ago

Dockerfile

FROM --platform=amd64 debian:buster-slim
ARG DEBIAN_FRONTEND=noninteractive

RUN mkdir /srv/app
WORKDIR /srv/app

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    make git curl wget \

The in a bash shell

    git clone https://github.com/awslabs/git-secrets
    cd git-secrets
    DESTDIR=.local make install
    git secrets --install

outputs

remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 345 (delta 0), reused 0 (delta 0), pack-reused 344
Receiving objects: 100% (345/345), 113.70 KiB | 285.00 KiB/s, done.
Resolving deltas: 100% (194/194), done.
make[1]: Entering directory '/srv/app/git-secrets'
make[1]: Leaving directory '/srv/app/git-secrets'
git: 'secrets' is not a git command. See 'git --help'

Unexpected behavior following the instructions of prerequisites and install, looking for a solution or bug acceptance.