Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: 0.2

phases:
pre_build:
install:
commands:
- mkdir -p $HOME/.docker/cli-plugins
- wget -O $HOME/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.10.3/buildx-v0.10.3.linux-arm64
Expand All @@ -15,8 +15,8 @@ phases:
- docker run --privileged --rm tonistiigi/binfmt --install all
- export DOCKER_BUILDKIT=1
- export DOCKER_CLI_EXPERIMENTAL=enabled
- docker buildx create --name mybuilder --use
- docker buildx version
- docker buildx create --name mybuilder --use
build:
commands:
- echo "[Building docker containers]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ resource "aws_codebuild_project" "build_image_stage" {

environment {
compute_type = "BUILD_GENERAL1_SMALL"
image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0"
type = "LINUX_CONTAINER"
image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0"
type = "ARM_CONTAINER"
image_pull_credentials_type = "CODEBUILD"
privileged_mode = true

Expand Down
Loading