DEV Community

Discussion on: Jan. 24, 2020: What did you learn this week?

Collapse
 
dasdaniel profile image
Daniel P πŸ‡¨πŸ‡¦ • Edited

I learned that if you inline

apt-get update -y && apt-get install -y ...

in your docker build script, you may miss these errors

E: Release file for ... is not valid yet (invalid for another 22h 2min 28s). Updates for this repository will not be applied.

Which leads to other potential other issues.

So from now on, I'll put them on a separate lines.

apt-get update -y
apt-get install -y ...