by resonious · 4y ago · 0 comments
At work, we recently started using GitHub Codespaces for development. It uses Docker to set up the dev environment. It's been fantastic and legit has solved 99% of "works on my machine" problems.
What's causing your file-not-found issues? Surely it's not actually Docker, but rather some poorly written Dockerfiles.
> I can just put shell commands in the Dockerfile.
Can't you just put the shell commands in a shell script?
Unlike shell script, you generally need to build Docker image only once though + it just feels faster and less cumbersome.
I just use Docker whenever I need to run something on multiple machines. It essentially runs the same shell script, but I don't have to care for making sure the environment for the shell script is compatible (i.e. distribution version, os package dependencies and so on)