Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

394
Visualizações
Limited time when using local cache in AWS CodeBuild?

I am trying to use the Docker layer cache in AWS CodeBuild. I have seen the effect when using it to reduce the time when building or pulling Docker image, but I found that it can only use local cache in a certain time period (about less than 1 hour). I have not seen any document about this.

Where did I get confused or do I have a way to set up the cache storage time?

Build caching in CodeBuild

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Local cache modes are best effort. They are available for a limited time after the build finishes. The S3 cache option for your artifacts are more durable, but they likely aren't well suited for Docker layers. We don't have documentation on it, as your mileage may vary.

If you run sparse builds, you are unlikely to see the benefits with local caching of your Docker layers. You may instead save and restore layer in Amazon ECR from your build container: https://github.com/aws/aws-codebuild-docker-images/issues/26#issuecomment-370177343.

In a future release, we will enable you to opt for backing up layers in your ECR registry.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda