Skip to content

Commit 6fa8205

Browse files
author
yolo h8cker 93
committed
Before switching to different build strategy
1 parent 782b5a6 commit 6fa8205

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

docker/aws/build_and_push_aws.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,3 @@ echo -e "${YELLOW}Pushing image to ECR...${NC}"
4949
docker push "$FULL_IMAGE_NAME"
5050

5151
echo -e "${GREEN}Successfully built and pushed image: $FULL_IMAGE_NAME${NC}"
52-
echo -e "${GREEN}You can now use this image in your AWS services.${NC}"
53-
echo ""
54-
echo -e "${YELLOW}IMPORTANT: When running this container on AWS Batch or other services,${NC}"
55-
echo -e "${YELLOW}make sure to enable privileged mode for Docker-in-Docker functionality.${NC}"
56-
echo -e "${YELLOW}For AWS Batch, add 'privileged: true' to your job definition.${NC}"

docker/aws/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ trap cleanup EXIT
2121
# Start Docker daemon with proper configuration for AWS Batch
2222
echo "Starting Docker daemon..."
2323
# Use vfs storage driver to avoid overlay permission issues
24-
dockerd --storage-driver=vfs --iptables=false --ip-masq=false --bridge=none &
24+
dockerd --storage-driver=vfs --iptables=false --ip-masq=false &
2525

2626
# Wait for Docker daemon to be ready
2727
echo "Waiting for Docker daemon to start..."

0 commit comments

Comments
 (0)