File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
33# ECR and base image configuration - extracted from CodeBuild environment
4- ARG ECR_ACCOUNT_ID=0123456789012
4+ ARG ECR_ACCOUNT_ID
55ARG ECR_REGION=us-east-1
66ARG BASE_IMAGE_NAME=docker-linuxserver-ubuntu-fips
77ARG BASE_IMAGE_TAG=ubuntu-fips-2
Original file line number Diff line number Diff line change 11---
22services :
33 docker-code-server :
4- image : " ${ECR_ACCOUNT_ID}.dkr.ecr-fips.${ECR_REGION}.amazonaws.com/docker-code-server:${IMAGE_TAG:-local}"
4+ image : " ${ECR_ACCOUNT_ID:-0123456789012 }.dkr.ecr-fips.${ECR_REGION}.amazonaws.com/docker-code-server:${IMAGE_TAG:-local}"
55 pull_policy : build
66 build :
77 context : .
88 dockerfile : Dockerfile
99 platforms :
1010 - linux/amd64
1111 args :
12- - ECR_ACCOUNT_ID=${ECR_ACCOUNT_ID}
12+ - ECR_ACCOUNT_ID=${ECR_ACCOUNT_ID:-0123456789012 }
1313 - BASE_IMAGE_TAG=${BASE_IMAGE_TAG:-local}
1414 - VERSION=${VERSION:-4.102.1}
1515 - CODE_RELEASE=${CODE_RELEASE:-4.102.1}
You can’t perform that action at this time.
0 commit comments