How to pass arguments to a bash script through Dockerfile

前端 未结 0 1513
被撕碎了的回忆
被撕碎了的回忆 2021-01-28 12:36

I have a simple Dockerfile as below:

FROM kalilinux/kali-rolling

WORKDIR /attack

COPY . /attack
RUN ls
RUN chmod +x attack.sh
RUN ./attack.sh $aws_         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题