@@ -6,7 +6,7 @@ import type {
6
6
GoogleCloudImages ,
7
7
} from "@cocalc/util/db-schema/compute-servers" ;
8
8
import { makeValidGoogleName } from "@cocalc/util/db-schema/compute-servers" ;
9
- import { Alert , Select , Spin } from "antd" ;
9
+ import { Alert , Checkbox , Select , Spin } from "antd" ;
10
10
import { CSSProperties , useEffect , useMemo , useState } from "react" ;
11
11
import { Icon , Markdown } from "@cocalc/frontend/components" ;
12
12
import { A } from "@cocalc/frontend/components/A" ;
@@ -129,17 +129,23 @@ export default function SelectImage({
129
129
configuration = { configuration }
130
130
/>
131
131
) }
132
- { warnBigGb && ( dockerSizeGb ?? 0 ) > warnBigGb && (
132
+ { warnBigGb && ( dockerSizeGb ?? 1 ) > warnBigGb && (
133
133
< Alert
134
134
style = { { margin : "15px 0" } }
135
- showIcon
136
135
type = "warning"
137
- message = " Large Image"
136
+ message = { < h4 > Large Image Warning </ h4 > }
138
137
description = {
139
138
< >
140
- The compute server will take < b > several extra minutes</ b > to start
141
- the first time, because the { dockerSizeGb } GB Docker image must be
142
- pulled and decompressed. Please be patient!
139
+ The compute server will take{ " " }
140
+ < b > up to { Math . ceil ( ( dockerSizeGb ?? 1 ) / 3 ) } extra minutes</ b > to
141
+ start the first time, because a { dockerSizeGb } GB Docker image
142
+ must be pulled and decompressed. Please be patient!
143
+ < br />
144
+ < br />
145
+ < Checkbox >
146
+ I understand that initial startup will take at least{ " " }
147
+ { Math . ceil ( ( dockerSizeGb ?? 1 ) / 3 ) } extra minutes
148
+ </ Checkbox >
143
149
</ >
144
150
}
145
151
/>
0 commit comments