sbt/sbt-native-packager

Root user compliance in twistlock when we build the image

Offen

#1.452 geöffnet am 27.08.2021

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Scala (439 Forks)batch import
dockerhelp wanted

Repository-Metriken

Stars
 (1.593 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 18h) (4 gemergte PRs in 30 T)

Beschreibung

Expected behaviour

When we run sbt docker:publishLocal it is creating the image with default user demiourgos728. When we run the pod with same image it is running with user demiourgos728, there should not be any compliance issue related to non-root user.

Actual behaviour

When we run the pod with same image it is running with user demiourgos728, but the compliance issue on twistlock says that we are not running with non-root user.

Information

  • What sbt version : 1.3.13
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) : centos7
  • What package are you building (e.g. docker, rpm, ...) : docker
  • What version has your build tool (find out with e.g. rpm --version) :
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7) : adoptopenjdk/openjdk11:jdk-11.0.11_9-alpine

Contributor Guide