@@ -162,6 +162,7 @@ func CommonBuildOptionsFromFlagSet(flags *pflag.FlagSet, findFlagFunc func(name
162
162
cpuQuota , _ := flags .GetInt64 ("cpu-quota" )
163
163
cpuShares , _ := flags .GetUint64 ("cpu-shares" )
164
164
httpProxy , _ := flags .GetBool ("http-proxy" )
165
+ withSSLCertFile , _ := flags .GetBool ("with-ssl-cert-file" )
165
166
identityLabel , _ := flags .GetBool ("identity-label" )
166
167
omitHistory , _ := flags .GetBool ("omit-history" )
167
168
@@ -175,29 +176,30 @@ func CommonBuildOptionsFromFlagSet(flags *pflag.FlagSet, findFlagFunc func(name
175
176
ociHooks , _ := flags .GetStringArray ("hooks-dir" )
176
177
177
178
commonOpts := & define.CommonBuildOptions {
178
- AddHost : addHost ,
179
- CPUPeriod : cpuPeriod ,
180
- CPUQuota : cpuQuota ,
181
- CPUSetCPUs : findFlagFunc ("cpuset-cpus" ).Value .String (),
182
- CPUSetMems : findFlagFunc ("cpuset-mems" ).Value .String (),
183
- CPUShares : cpuShares ,
184
- CgroupParent : findFlagFunc ("cgroup-parent" ).Value .String (),
185
- DNSOptions : dnsOptions ,
186
- DNSSearch : dnsSearch ,
187
- DNSServers : dnsServers ,
188
- HTTPProxy : httpProxy ,
189
- IdentityLabel : types .NewOptionalBool (identityLabel ),
190
- Memory : memoryLimit ,
191
- MemorySwap : memorySwap ,
192
- NoHostname : noHostname ,
193
- NoHosts : noHosts ,
194
- OmitHistory : omitHistory ,
195
- ShmSize : findFlagFunc ("shm-size" ).Value .String (),
196
- Ulimit : ulimit ,
197
- Volumes : volumes ,
198
- Secrets : secrets ,
199
- SSHSources : sshsources ,
200
- OCIHooksDir : ociHooks ,
179
+ AddHost : addHost ,
180
+ CPUPeriod : cpuPeriod ,
181
+ CPUQuota : cpuQuota ,
182
+ CPUSetCPUs : findFlagFunc ("cpuset-cpus" ).Value .String (),
183
+ CPUSetMems : findFlagFunc ("cpuset-mems" ).Value .String (),
184
+ CPUShares : cpuShares ,
185
+ CgroupParent : findFlagFunc ("cgroup-parent" ).Value .String (),
186
+ DNSOptions : dnsOptions ,
187
+ DNSSearch : dnsSearch ,
188
+ DNSServers : dnsServers ,
189
+ HTTPProxy : httpProxy ,
190
+ IdentityLabel : types .NewOptionalBool (identityLabel ),
191
+ Memory : memoryLimit ,
192
+ MemorySwap : memorySwap ,
193
+ NoHostname : noHostname ,
194
+ NoHosts : noHosts ,
195
+ OmitHistory : omitHistory ,
196
+ ShmSize : findFlagFunc ("shm-size" ).Value .String (),
197
+ Ulimit : ulimit ,
198
+ Volumes : volumes ,
199
+ Secrets : secrets ,
200
+ SSHSources : sshsources ,
201
+ WithSSLCertFile : withSSLCertFile ,
202
+ OCIHooksDir : ociHooks ,
201
203
}
202
204
securityOpts , _ := flags .GetStringArray ("security-opt" )
203
205
if err := parseSecurityOpts (securityOpts , commonOpts ); err != nil {
0 commit comments