Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 287 Bytes

File metadata and controls

11 lines (8 loc) · 287 Bytes

docker-RUN-file

Experiment with moving shell commands from RUN to a script file.

Benefits

  1. Write robust shell scripts without initial indentation, backslashes and &&-s
  2. Dramatically reduce the size of your Dockerfile
  3. Reuse scripts
  4. Use functions
  5. Read other files