datastack-net / dockerized

Run popular commandline tools within docker
MIT License
1.26k stars 39 forks source link

Extra --build arguments: --pull and --no-cache #52

Open boukeversteegh opened 1 year ago

boukeversteegh commented 1 year ago
  • I'm using "dockerized --build run ..." As far as I understand I'm currently not able to pass some "--build" parameters to this command (?) https://docs.docker.com/engine/reference/commandline/compose_build/ For example --no-cache and --pull would be quite nice for my workflow.

  • As far as I understand I'm currently not able to do an "only-build" execution instead of "build + run" (?) I have a local base image as dependency for my final image. If I execute "dockerized --build run ..." this will (obviously) be executed, while I would only need it to be built. Workaround is to use "docker compose build ...." instead, which leads to a mix of "dockerized" and "docker compose" - commands in my workflow.

How do you feel about these points? :)

Regards, Daniel

Originally posted by @danielrolfes2307 in https://github.com/datastack-net/dockerized/issues/50#issuecomment-1629110719