Commit 1ce0ae8 1 parent 2e5b9ec commit 1ce0ae8 Copy full SHA for 1ce0ae8
File tree 2 files changed +4
-5
lines changed
main/scala/com/typesafe/sbt/packager/universal
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -240,10 +240,9 @@ object Archives {
240
240
241
241
IO .copy(m2)
242
242
// TODO - Is this enough?
243
- for (f <- (m2 map { case (_, f) => f });
244
- if f.getAbsolutePath contains " /bin/" ) {
245
- println(" Making " + f.getAbsolutePath + " executable" )
246
- f.setExecutable(true , false )
243
+ for ( (from, to) <- m2 if (to.getAbsolutePath contains " /bin/" ) || from.canExecute ) {
244
+ println(" Making " + to.getAbsolutePath + " executable" )
245
+ to.setExecutable(true , false )
247
246
}
248
247
249
248
IO .createDirectory(tarball.getParentFile)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ sbt-native-packager focuses on creating a Docker image which can "just run" the
16
16
Requirements
17
17
------------
18
18
19
- You need the version 1.3 or higher of the docker console client installed.
19
+ You need the version 1.10 or higher of the docker console client installed.
20
20
SBT Native Packager doesn't use the REST API, but instead uses the CLI directly.
21
21
22
22
It is currently not possible to provide authentication for Docker repositories from within the build.
You can’t perform that action at this time.
0 commit comments