Skip to content

Commit

Permalink
updating to arm architecture, more recent image
Browse files Browse the repository at this point in the history
  • Loading branch information
z0ph committed Sep 16, 2024
1 parent 0a0fd78 commit 1e2ab75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 32 deletions.
2 changes: 1 addition & 1 deletion automation/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/amazonlinux/amazonlinux:latest
FROM public.ecr.aws/amazonlinux/amazonlinux:2023

# Install dependencies
RUN yum update -y && \
Expand Down
36 changes: 5 additions & 31 deletions automation/tf-fargate/tasks/task_definition.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[
{
"dnsSearchDomains": null,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "/ecs/${project}-${env}",
"awslogs-region": "${aws_region}",
Expand All @@ -12,42 +10,18 @@
},
"image": "${container_image}",
"name": "${project}-${env}-container",
"entryPoint": null,
"portMappings": [],
"command": null,
"linuxParameters": null,
"cpu": 0,
"runtimePlatform": {
"operatingSystemFamily": "LINUX",
"cpuArchitecture": "ARM64"
},
"environment": [
{
"name": "Environment",
"value": "${env}"
}
],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": [],
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": [],
"stopTimeout": null,
"startTimeout": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null
"essential": true
}
]

0 comments on commit 1e2ab75

Please sign in to comment.