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

What to do when useradd is not available? #1262

Closed
mrubin opened this issue Sep 26, 2019 · 1 comment
Closed

What to do when useradd is not available? #1262

mrubin opened this issue Sep 26, 2019 · 1 comment

Comments

@mrubin
Copy link

mrubin commented Sep 26, 2019

I am upgrading from Play Framework 2.6.x to 2.7.x. I use sbt docker:publishLocal to create docker images. The sbt-native-packager that is being used by Play 2.7.x now introduces an demiourgos728 user instead of using a daemon user and is using useradd during docker build time. The base image I'm using (https://hub.docker.com/_/amazoncorretto) does not have useradd. What should I do in this case? Why was the approach changed from using the daemon user and not doing all the weird stuff with useradd?

Information

  • What sbt-native-packager are you using: Whatever comes with Play 2.7.1
  • sbt: 1.2.8
  • What is your build system: MacOS
  • What package are you building: docker
  • Docker version: 19.03.2
  • What is your target system: Amazon Linux
@mrubin
Copy link
Author

mrubin commented Sep 27, 2019

Updating to latest sbt-native-packager, as opposed to using an older version that's referenced out of the box by Play 2.7.1, gets around this issue.

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

No branches or pull requests

1 participant