11
Reymann
8d

Build a docker image.
Adds config file .
Build cache ignores new contents.
Hours of trying to figure the shit out.
Bash into it.

GOD DAMN DOCKER HAS CACHED THE VERY FIRST VERSION OF THE FILE.

Hours lost with headcaches and thinking about existence. Fck my life.

Comments
  • 0
    i've been there too, and many others as well
  • 1
    @erandria Good to hear :)
  • 0
    LoL poor guy
  • 0
    @Reymann just use a volume, and put the conf there. or cleanup the cache. Or read the f-ing build log...
    also - two stage builds.
  • 0
    Oh lord, I felt your pain also sometimes you are just looking at for an 🐞 with a telescope while you should've used the magnifying glass 🤷‍♂️ sometimes you walk backwards sometimes forwards

    Feels like shit, but it happens to the best of us
  • 0
    Also, this is why I hate docker
  • 1
    @karma i mean, if you think about it, it's not docker's fault.

    Imagine if docker erased files on host when mounting. If you bound to something like / then you would get your entire system deleted.

    @magicMirror by reading the build log you mean the stdout of the build process? how would this help?
  • 1
    @erandria true, you are right 🤭
  • 0
    @erandria docker tells you which layers were built, and which ones were reused from cache. all in the build log....
Your Job Suck?
Get a Better Job
Add Comment