We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to set some options in build.sbt, but packager literraly ignores all my tryings.
build.sbt
import Dependencies._ enablePlugins(JavaAppPackaging, DockerPlugin) dockerExposedPorts ++= Seq(9000) scalaVersion := "2.13.1" name := "my-app" version := "0.3.0" scalacOptions += "-Ypartial-unification" libraryDependencies ++= commonDependencies ++ doobie ++ circe ++ http4s ++ Tsec ++ circeDerivation addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.0") addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.11.0" cross CrossVersion.full) mainClass in Compile := Some("com.me.myapp.Main") scalacOptions := Seq( "-unchecked", "-feature", "-language:existentials", "-language:higherKinds", "-language:implicitConversions", "-language:postfixOps", "-deprecation", "-Ymacro-annotations", "-encoding", "utf8" ) lazy val commonDependencies = Seq( logback, scalaLogging, slf4j, typesafeConfig, pureConfig, cats, catsEffect, circeConfig, postgresJdbcDriver, slf4jL, scalatest % "test", scalacheck % "test", )
in this exapmle - adds EXPOSE section to Dockerfile
Nothing changes in common Dockerfile
FROM openjdk:8 as stage0 WORKDIR /opt/docker COPY opt /opt USER root RUN ["chmod", "-R", "u=rX,g=rX", "/opt/docker"] RUN ["chmod", "u+x,g+x", "/opt/docker/bin/performance-test-analyzer"] FROM openjdk:8 LABEL MAINTAINER="me@somethingmail.com" USER root RUN id -u demiourgos728 2> /dev/null || useradd --system --create-home --uid 1001 --gid 0 demiourgos728 WORKDIR /opt/docker COPY --from=stage0 --chown=demiourgos728:root /opt/docker /opt/docker USER 1001 ENTRYPOINT ["/opt/docker/bin/performance-test-analyzer"] CMD []
The text was updated successfully, but these errors were encountered:
Thanks @MaksSieve for your report. What was the solution 😄
Sorry, something went wrong.
No branches or pull requests
I want to set some options in build.sbt, but packager literraly ignores all my tryings.
build.sbt
Expected behaviour
in this exapmle - adds EXPOSE section to Dockerfile
Actual behaviour
Nothing changes in common Dockerfile
Information
The text was updated successfully, but these errors were encountered: