balena-chromium-kiosk icon indicating copy to clipboard operation
balena-chromium-kiosk copied to clipboard

ENV breaks docker cache

Open jacobrosenthal opened this issue 5 years ago • 1 comments

Ive found the cache wasnt working and I was getting painful rebuilds. It seems like this line it to blame

https://github.com/jayatvars/balena-chromium-kiosk/blob/master/Dockerfile.template#L3

jacobrosenthal avatar Apr 01 '19 08:04 jacobrosenthal

Presumably this was pasted in along with the other systemd stuff which brings up another question

Since you're already using privileged: true and ENV INITSYSTEM on so Im not sure what a manual service is providing here. Theres a comment about input but I dont understand if theres anything special in there. Note they dont do anything similar in their x11 example https://github.com/balena-io-playground/x11-window-manager/

Ive pulled all that out and need to do some additional testing yet but it seems to be good?

jacobrosenthal avatar Apr 01 '19 19:04 jacobrosenthal