1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
If you are using tini, in the buildspec.yml
file, within the build
phase, you could run the docker run --init...
command. The buildspec.yml
file syntax can be seen here.
답변함 2년 전
Thanks for your reply, but I am still confused. In my understanding the commands specified in the build phase are the ones which are executed within the container which is specified in the environment section. I would like to modify the
docker run
which is used as environment. Is it possible? If not, I think I should run again a docker with the init option
Can you tell us what problem you're trying to solve, exactly? Why do you want to add
--init
?