Skip to content

Commit

Permalink
Merge pull request #322 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Release: JDK 18
  • Loading branch information
pandurangpatil authored Feb 7, 2023
2 parents dcf2bc4 + 4a46892 commit edb2db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG VERSION=1.0.0
FROM adoptopenjdk/openjdk15:latest as build
FROM openjdk:18.0.2.1-jdk-bullseye as build
RUN apt update && apt install -y python3 git curl bash
RUN ln -sf python3 /usr/bin/python

Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/ai/privado/cache/AppCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ object AppCache {
val totalMap = mutable.HashMap[String, Int]()

def init(scanPath: String) = {
this.scanPath = scanPath
this.localScanPath = getRepoScanPath(scanPath)
this.scanPath = scanPath // Scan Path of the repo on the host machine
this.localScanPath = getRepoScanPath(scanPath) // scan path perceived by the binary (can be different inside docker)
this.repoName = this.localScanPath.split("[/\\\\]").last
}
}

0 comments on commit edb2db9

Please sign in to comment.