Skip to content

Commit c6d29d1

Browse files
committed
bug fix for assign golang version in Dockerfile.
1 parent 93b783f commit c6d29d1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

e2b-setup-env.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Parameters:
111111
AllowRemoteSSHIPs:
112112
Description: IP address range allowed for SSH (port 22) access to the bastion host (CIDR format), if you want to allow all IPs, please set it to '0.0.0.0/0'
113113
Type: String
114-
Default: "10.0.0.0/0"
114+
Default: "10.0.0.0/8"
115115

116116
# Database Configuration - PostgreSQL settings for E2B platform
117117
DBInstanceIdentifier:
@@ -138,7 +138,7 @@ Parameters:
138138
# ===================================================================================================
139139
Conditions:
140140
IsX64: !Equals [!Ref Architecture, x86_64]
141-
IsGraviton: !Equals [!Ref Architecture, Graviton]
141+
IsArm64: !Equals [!Ref Architecture, arm64]
142142
IsProd: !Equals [!Ref Environment, prod]
143143

144144
# ===================================================================================================
@@ -395,7 +395,7 @@ Resources:
395395
DBPasswordParameter:
396396
Type: AWS::SSM::Parameter
397397
Properties:
398-
Name: !Sub "${AWS::StackName}-db-password"
398+
Name: !Sub "e2b-${AWS::StackName}-db-password"
399399
Type: String
400400
Value: !Ref DBPassword
401401
Description: PostgreSQL database password stored securely in AWS Systems Manager Parameter Store
@@ -555,7 +555,7 @@ Resources:
555555
KeyName: !Ref KeyName
556556
IamInstanceProfile: !Ref EC2InstanceProfile
557557
SubnetId: !Ref PublicSubnet1
558-
SourceDestCheck: "false"
558+
SourceDestCheck: false
559559
EbsOptimized: true
560560
Monitoring: true
561561
ImageId: !If

infra-iac/init.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ setup_environment() {
66
# Get CloudFormation stack ID
77
STACK_ID=$(grep "^StackName=" /tmp/e2b.log | cut -d'=' -f2)
88

9+
# Validate stack existence
10+
[[ -z "$STACK_ID" ]] && { echo "Error: Failed to get CloudFormation Stack ID"; exit 1; }
11+
912
# Dynamic export of CFN outputs
1013
declare -A CFN_OUTPUTS
1114
while IFS=$'\t' read -r key value; do

packages/orchestrator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24 AS builder
1+
FROM golang:1.24-bullseye AS builder
22

33
WORKDIR /build/shared
44

0 commit comments

Comments
 (0)