Skip to content

Commit

Permalink
#1227 Reformat and add repository URL
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 9, 2020
1 parent bd76208 commit 0eb6daf
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docker.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mappings in Docker ~= (_.filterNot {
})
dockerCommands := Seq(
Cmd("FROM", "openjdk:8"),
Cmd("LABEL", "MAINTAINER=\"TheHive Project <[email protected]>\""),
Cmd("LABEL", "MAINTAINER=\"TheHive Project <[email protected]>\"", "repository=\"https://github.com/TheHive-Project/TheHive\""),
Cmd("WORKDIR", "/opt/thehive"),
// format: off
Cmd("RUN",
Expand All @@ -36,13 +36,12 @@ dockerCommands := Seq(
"apt", "autoremove", "-y", "-q", "&&",
"rm", "-rf", "/var/lib/apt/lists/*", "&&",
"(", "type", "groupadd", "1>/dev/null", "2>&1", "&&",
"groupadd", "-g", "1000", "thehive", "||",
"addgroup", "-g", "1000", "-S", "thehive",
")",
"&&",
"groupadd", "-g", "1000", "thehive", "||",
"addgroup", "-g", "1000", "-S", "thehive",
")", "&&",
"(", "type", "useradd", "1>/dev/null", "2>&1", "&&",
"useradd", "--system", "--uid", "1000", "--gid", "1000", "thehive", "||",
"adduser", "-S", "-u", "1000", "-G", "thehive", "thehive",
"useradd", "--system", "--uid", "1000", "--gid", "1000", "thehive", "||",
"adduser", "-S", "-u", "1000", "-G", "thehive", "thehive",
")"),
//format: on
Cmd("ADD", "--chown=root:root", "opt", "/opt"),
Expand Down

0 comments on commit 0eb6daf

Please sign in to comment.