File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 114
114
# still something still includes a reference to gcc (~230MiB), causing it to be
115
115
# added to the docker images.
116
116
, strip ? if debuginfo == 0 then true else false
117
+ # We normally don't include a shell in the (dev) operator images, but it can be
118
+ # enabled by enabling this flag.
119
+ , includeShell ? false
117
120
} :
118
121
rec {
119
122
inherit cargo sources pkgsLocal pkgsTarget meta ;
@@ -135,14 +138,14 @@ rec {
135
138
name = dockerName ;
136
139
tag = dockerTag ;
137
140
contents = [
138
- # Common debugging tools
139
- pkgsTarget . bashInteractive
140
- pkgsTarget . coreutils
141
- pkgsTarget . util-linuxMinimal
142
141
# Kerberos 5 must be installed globally to load plugins correctly
143
142
pkgsTarget . krb5
144
143
# Make the whole cargo workspace available on $PATH
145
144
build
145
+ ] ++ lib . optional includeShell [
146
+ pkgsTarget . bashInteractive
147
+ pkgsTarget . coreutils
148
+ pkgsTarget . util-linuxMinimal
146
149
] ;
147
150
config = {
148
151
Env =
You can’t perform that action at this time.
0 commit comments