Skip to content

Commit

Permalink
Merge pull request #3 from Illumina/hjo/update-codebuild-image
Browse files Browse the repository at this point in the history
update codebuild for generating docker container
  • Loading branch information
hjo-ilmn authored Sep 25, 2024
2 parents 4c6730a + b86d715 commit 4f9d264
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/container-build.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ Resources:
phases:
pre_build:
commands:
- sudo apt-get update && sudo apt-get install -y curl
- apt-get update && sudo apt-get install -y curl
- ls -al
- cd ${SERVICE_NAME}
- ls -al
- $(aws ecr get-login)
- aws ecr get-login-password --region ${AWS_DEFAULT_REGION} | docker login --username AWS --password-stdin ${REPOSITORY_URI}
- TAG=${SERVICE_NAME}
build:
commands:
Expand All @@ -246,7 +246,7 @@ Resources:
files: build.json
Environment:
ComputeType: BUILD_GENERAL1_SMALL
Image: aws/codebuild/docker:1.12.1
Image: aws/codebuild/standard:7.0-24.08.23
Type: LINUX_CONTAINER
EnvironmentVariables:
- Name: AWS_DEFAULT_REGION
Expand Down

0 comments on commit 4f9d264

Please sign in to comment.