Skip to content

Unable to build Docker image on Mac #575

Open
@fade2black

Description

@fade2black

Unable to build a Ubuntu 6.0 image

To Reproduce

$ git clone https://github.com/aws/aws-codebuild-docker-images.git
$ cd aws-codebuild-docker-images
$ cd ubuntu/standard/6.0
$ docker build -t aws/codebuild/standard:6.0 .

Expected behavior
Create a new image

Logs

> [tools  3/10] RUN set -ex     && mkdir /tmp/ssm     && cd /tmp/ssm     && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/latest/debian_amd64/amazon-ssm-agent.deb     && dpkg -i amazon-ssm-agent.deb:                                                                                                                                                                                          
#9 0.204 + mkdir /tmp/ssm                                                                                                                                                                            
#9 0.215 + cd /tmp/ssm
#9 0.215 + wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/latest/debian_amd64/amazon-ssm-agent.deb
#9 2.646 + dpkg -i amazon-ssm-agent.deb
#9 2.683 dpkg: error processing archive amazon-ssm-agent.deb (--install):
#9 2.683  package architecture (amd64) does not match system (arm64)
#9 2.693 Errors were encountered while processing:
#9 2.693  amazon-ssm-agent.deb
------
executor failed running [/bin/sh -c set -ex     && mkdir /tmp/ssm     && cd /tmp/ssm     && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/latest/debian_amd64/amazon-ssm-agent.deb     && dpkg -i amazon-ssm-agent.deb]: exit code: 1

Platform:

  • OS: Apple M1 Pro, 16 GB, Ventura 13.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