File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,9 +114,8 @@ syncAddContentToDir opts dir = do
114114 let imgAdd = imgDockerAdd opts
115115 forM_
116116 (Map. toList imgAdd)
117- (\ (source,dest ) ->
117+ (\ (source,destPath ) ->
118118 do sourcePath <- resolveDir (bcRoot bconfig) source
119- destPath <- parseAbsDir dest
120119 let destFullPath = dir </> dropRoot destPath
121120 ensureDir destFullPath
122121 copyDirRecur sourcePath destFullPath)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ data ImageDockerOpts = ImageDockerOpts
3030 , imgDockerEntrypoints :: ! (Maybe [String ])
3131 -- ^ Maybe have a specific ENTRYPOINT list that will be used to
3232 -- create images.
33- , imgDockerAdd :: ! (Map FilePath FilePath )
33+ , imgDockerAdd :: ! (Map FilePath ( Path Abs Dir ) )
3434 -- ^ Maybe have some static project content to include in a
3535 -- specific directory in all the images.
3636 , imgDockerImageName :: ! (Maybe String )
You can’t perform that action at this time.
0 commit comments