odoo / odoo/docker

Release file not valid

Open
#352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Using the 13.0 stock Dockerfile and trying to build on Docker for Windows. After apt-get update runs it says Release file is not valid yet.

I've tried a bunch of different things since it seems like the issue is system time being off. I resycned the system clock. Did a full Docker reset and added the following line and updated the apt-get update below. Still no luck.

RUN echo "Acquire::Check-Valid-Until "false";\nAcquire::Check-Date "false";" | cat > /etc/apt/apt.conf.d/10no--check-valid-until

RUN apt-get -o Acquire::Check-Valid-Until=false update

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Odoo 13.0 stock Dockerfile and reproduce the failure on Docker for Windows at the apt-get update step. Check the base image and system-time assumptions involved in the Release-file validation; done means the documented build completes successfully without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.