We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa9a04 commit 19f7493Copy full SHA for 19f7493
hooks/pre.rhai
@@ -33,12 +33,12 @@ if !check_bool("flakes") {
33
file::delete("./.envrc");
34
}
35
36
-if !variable::is_set("docker") {
37
- let docker = variable::prompt("Do you want to generate a Dockerfile for your gadget?", true);
38
- variable::set("docker", docker);
+if !variable::is_set("container") {
+ let container = variable::prompt("Do you want to generate a Dockerfile for your gadget?", true);
+ variable::set("container", container);
39
40
41
-if check_bool("docker") {
+if check_bool("container") {
42
if !variable::is_set("base-image") {
43
let base_image = variable::prompt("What base image should be used?", "rustlang/rust:nightly");
44
variable::set("base-image", base_image);
0 commit comments