Skip to content

Commit

Permalink
fix target dir in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fm3 committed Oct 10, 2023
1 parent 9dc26f4 commit 70ad9f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends gosu && rm -rf
RUN mkdir -p /fossildb
WORKDIR /fossildb

COPY target/scala-2.12/fossildb.jar .
COPY target/scala-2.13/fossildb.jar .
COPY fossildb .

RUN groupadd -r fossildb \
Expand All @@ -13,7 +13,7 @@ RUN groupadd -r fossildb \
&& chmod 777 . \
&& chown -R fossildb .

RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.20 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe

Expand Down
4 changes: 2 additions & 2 deletions src/test/scala/com/scalableminds/fossildb/FossilDBSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class FossilDBSuite extends AnyFlatSpec with BeforeAndAfterEach with TestHelpers
private val aNotherKey = "aNotherKey"
private val aThirdKey = "aThirdKey"

override def beforeEach: Unit = {
override def beforeEach(): Unit = {
deleteRecursively(new File(testTempDir))
new File(testTempDir).mkdir()

Expand All @@ -47,7 +47,7 @@ class FossilDBSuite extends AnyFlatSpec with BeforeAndAfterEach with TestHelpers
serverOpt.foreach(_.start())
}

override def afterEach: Unit = {
override def afterEach(): Unit = {
serverOpt.foreach(_.stop())
deleteRecursively(new File(testTempDir))
}
Expand Down

0 comments on commit 70ad9f3

Please sign in to comment.