Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Reference to undefined setting: makeBashScripts from dockerAdditionalPermissions" (since v1.3.18) #1205

Closed
thomschke opened this issue Feb 21, 2019 · 1 comment

Comments

@thomschke
Copy link

thomschke commented Feb 21, 2019

Since v1.3.18 when you write a docker-project from scratch like

lazy val `root` = (project in file("."))
  .enablePlugins(DockerPlugin)
  .settings(
    dockerCommands := Seq(
      ...
    )
  )

Expected behaviour

sbt loads the project.

Actual behaviour

[info] Loading settings for project root from build.sbt ...
[error] Reference to undefined setting:
[error]
[error]   makeBashScripts from dockerAdditionalPermissions ((com.typesafe.sbt.packager.docker.DockerPlugin.projectSettings) DockerPlugin.scala:111)

Information

  • What sbt-native-packager are you using
    v1.3.18
  • What sbt version
    1.2.8
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
    MacOS
  • What package are you building (e.g. docker, rpm, ...)
    docker
@muuki88
Copy link
Contributor

muuki88 commented Feb 28, 2019

This was introduced in #1201 .

We should remove the dependency on makeBashScripts and replace the defaults with the sbt-native-packager wide convention that things in bin should be executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants