fix(Dockerfile): allow running commands with docker run (#1894)

* fix(Dockerfile): allow running commands with docker run

According to
<https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2109#note_47480476>
adding the "-c" to the ENTRYPOINT is necessary to be able to run
commands like `docker run libafl "cargo build"`

* fix(Dockerfile): restore ability to docker run without command

As `bash -c` always requires a string, the previous commit
removed the ability to just `docker run -it libafl` and
get a shell.
This commit restores that ability
This commit is contained in:
Stefan Zabka 2024-03-06 19:14:18 +01:00 committed by GitHub
parent 969aa12c7e
commit 2ac075024b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,4 +134,5 @@ COPY fuzzers fuzzers
# RUN ./scripts/test_all_fuzzers.sh --no-fmt
ENTRYPOINT [ "/bin/bash" ]
ENTRYPOINT [ "/bin/bash", "-c" ]
CMD ["/bin/bash"]