I’ve built several Node-red docker images before without issue. Now I have a problem where I’m unable to use “apt-get update” in my Dockerfile.
The step always fails with error:
E: The method driver /usr/lib/apt/methods/https could not be found.
The command ‘/bin/sh -c apt-get update && apt-get install libaio1’ returned a non-zero code: 100
Does anyone have an idea? Installing https package is not possible because apt-get is not working first… a bit of the egg/chicken story…
This indicates a timeout. Try using apt-get update && apt-get install -y libaio1 the same way as I did it in the example above. Always use the headless flag when running things in a Dockerfile.