Skip to content

Commit 5f20efe

Browse files
committed
Change Ubuntu 22.04 to 24.04 for C++23 support
1 parent 1ebe933 commit 5f20efe

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
THALES_VERSION=0.1.0
33

44
# Ubuntu version for Docker
5-
UBUNTU_VERSION=22.04
5+
UBUNTU_VERSION=24.04

docker/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Ubuntu version
2-
UBUNTU_VERSION=22.04
2+
UBUNTU_VERSION=24.04
33

44
# Database configuration
55
DB_HOST=postgres

docker/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG UBUNTU_VERSION=22.04
1+
ARG UBUNTU_VERSION=24.04
22
FROM ubuntu:${UBUNTU_VERSION}
33

44
# Install system essentials

docker/Dockerfile.prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG UBUNTU_VERSION=22.04
1+
ARG UBUNTU_VERSION=24.04
22

33
# Build stage
44
FROM ubuntu:${UBUNTU_VERSION} AS builder

terraform/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ resource "aws_security_group" "thales_sg" {
123123

124124
# EC2 Instance
125125
resource "aws_instance" "thales_instance" {
126-
ami = "ami-0430580de6244e02e" # Ubuntu 22.04 LTS in us-east-2
126+
ami = "ami-0430580de6244e02e" # Ubuntu 24.04 LTS in us-east-2
127127
instance_type = var.instance_type
128128

129129
subnet_id = aws_subnet.thales_public_subnet.id
@@ -132,8 +132,8 @@ resource "aws_instance" "thales_instance" {
132132

133133
user_data = <<-EOF
134134
#!/bin/bash
135-
apt-get update
136-
apt-get install -y docker.io docker-compose
135+
apt update
136+
apt install -y docker.io docker-compose
137137
systemctl start docker
138138
systemctl enable docker
139139
usermod -aG docker ubuntu

0 commit comments

Comments
 (0)