Commit 15e9685
committed
playground: enable gVisor in production
The sandbox code checks for GO_VERSION to be set to 1.14+. Setting it
correctly in the final stage of the Dockerfile will enable gVisor in
production.
Tested by using "//play:gvisor" in a unique production snippet.
Changes nacl testing path to unset GO_VERSION environment variable,
which will trigger the non-gvisor codepath.
Updates golang/go#25224
Change-Id: Iaf688fffdb68fcc3db2c6803327f24bbf0f98268
Reviewed-on: https://go-review.googlesource.com/c/playground/+/227643
Reviewed-by: Andrew Bonventre <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>1 parent 0bc4181 commit 15e9685
3 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments