You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This shows a warning message about adjusted file/directory permission bits
when the `docker build` cli command is executed on windows.
Signed-off-by: Ahmet Alp Balkan <[email protected]>
// windows: show error message about modified file permissions
232
+
// FIXME: this is not a valid warning when the daemon is running windows. should be removed once docker engine for windows can build.
233
+
ifruntime.GOOS=="windows" {
234
+
log.Warn(`SECURITY WARNING: You are building a Docker image from Windows against a Linux Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.`)
235
+
}
236
+
230
237
varbody io.Reader
231
238
// Setup an upload progress bar
232
239
// FIXME: ProgressReader shouldn't be this annoying to use
0 commit comments