Skip to content

Add support for Docker runtime 20 #531

@Andykmcc

Description

@Andykmcc

Describe the bug
When trying to use docker version 20 to build an image with amazon linux 2 it fails with the error Phase context status code: YAML_FILE_ERROR Message: Unknown runtime version named '20' of docker. This build image has the following versions: 18, 19. Is adding support for docker 20 on a roadmap? If so, what is the expected timeframe for support?

To Reproduce
Steps to reproduce the behavior:

  1. Make a new buildspec.
  2. include the following phase
phases:
  install:
    runtime-versions:
      docker: 20
...

Expected behavior
The build should succeed using docker 20

Logs
Phase context status code: YAML_FILE_ERROR Message: Unknown runtime version named '20' of docker. This build image has the following versions: 18, 19

Platform (please complete the following information):

  • aws/codebuild/amazonlinux2-x86_64-standard:3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions