Skip to content

Commit

Permalink
fix: missing binary
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Rumney <[email protected]>
  • Loading branch information
owenrumney committed Jun 9, 2022
1 parent c7b929d commit 87bb975
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM alpine:latest
# install git
RUN apk add --no-cache git


COPY tfsec /tfsec

## use a non-privileged user
RUN adduser -D tfsec
USER tfsec
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ FROM alpine:latest
# install git
RUN apk add --no-cache git

COPY tfsec /tfsec

## use a non-privileged user
RUN adduser -D tfsec
USER tfsec
Expand Down

1 comment on commit 87bb975

@fardarter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just coming here with this error: docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "tfsec": executable file not found in $PATH: unknown.

Please sign in to comment.