Skip to content

Commit

Permalink
Implement multi arch docker build (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
krisgeus authored Jul 6, 2023
1 parent e19f640 commit 3a2c66a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ lazy val server = (project in file("server")) enablePlugins(JavaAppPackaging) se
scalaStyleSettings,
releaseSettings,
dockerUsername := Some("deltaio"),
dockerBuildxPlatforms := Seq("linux/arm64", "linux/amd64"),
scriptClasspath ++= Seq("../conf"),
libraryDependencies ++= Seq(
// Pin versions for jackson libraries as the new version of `jackson-module-scala` introduces a
Expand Down
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

resolvers += Resolver.url("artifactory", url("https://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

Expand All @@ -30,7 +31,7 @@ addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")

addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.6")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")

addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")

Expand Down

0 comments on commit 3a2c66a

Please sign in to comment.