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
5- ARG ECR_REGION
4+ ARG ECR_ACCOUNT_ID=0123456789012
5+ ARG ECR_REGION=us-east-1
66ARG BASE_IMAGE_NAME=civis-ubuntu-fips
77ARG BASE_IMAGE_TAG=22.04
88ARG ECR_URI=${ECR_ACCOUNT_ID}.dkr.ecr-fips.${ECR_REGION}.amazonaws.com/${BASE_IMAGE_NAME}:${BASE_IMAGE_TAG}
Original file line number Diff line number Diff line change 11---
22services :
3- docker-linux-server-ubuntu-fips :
3+ docker-linuxserver-ubuntu-fips :
4+ image : ${ECR_ACCOUNT_ID:-123456789012}.dkr.ecr-fips.us-east-1.amazonaws.com/docker-linuxserver-ubuntu-fips:${IMAGE_TAG:-local}
45 build :
56 context : .
67 dockerfile : Dockerfile
@@ -18,6 +19,6 @@ services:
1819 - ARCH=${ARCH:-amd64}
1920 - ECR_ACCOUNT_ID=${ECR_ACCOUNT_ID}
2021 - ECR_REGION=${ECR_REGION:-us-east-1}
21- - BASE_IMAGE_NAME=${BASE_IMAGE_NAME}
22+ - BASE_IMAGE_NAME=${BASE_IMAGE_NAME:-ubuntu-fips }
2223 - BASE_IMAGE_TAG=${BASE_IMAGE_TAG:-22.04}
23-
24+ pull_policy : build
You can’t perform that action at this time.
0 commit comments