Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Docker time sync issue while building U20 docker image from U18. #62

Closed
KiranSukhavasi opened this issue Dec 5, 2020 · 0 comments
Closed
Assignees
Labels
Docker Issue Generic docker issues are updated here.

Comments

@KiranSukhavasi
Copy link

KiranSukhavasi commented Dec 5, 2020

Issue
While building docker images based on Ubuntu 20.04 from a host Ubuntu 18.04 machine, sometimes the build fails because of mismatch in expected system time.

Resolution
We need to disable the time check to build Ubuntu 20.04 based docker images. To do so, use the flag "-o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false" in the Docker script.

For example,

RUN apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update -y && apt-get install -y

@KiranSukhavasi KiranSukhavasi changed the title [Readme or installation Guide Update] Docker time sync issue while building U20 docker image from U18 machine Docker time sync issue while building U20 docker image from U18. Dec 5, 2020
@DukeDavis12 DukeDavis12 added the Docker Issue Generic docker issues are updated here. label Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Docker Issue Generic docker issues are updated here.
Projects
None yet
Development

No branches or pull requests

3 participants