Skip to content

Commit 70ad9f3

Browse files
committed
fix target dir in dockerfile
1 parent 9dc26f4 commit 70ad9f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends gosu && rm -rf
44
RUN mkdir -p /fossildb
55
WORKDIR /fossildb
66

7-
COPY target/scala-2.12/fossildb.jar .
7+
COPY target/scala-2.13/fossildb.jar .
88
COPY fossildb .
99

1010
RUN groupadd -r fossildb \
@@ -13,7 +13,7 @@ RUN groupadd -r fossildb \
1313
&& chmod 777 . \
1414
&& chown -R fossildb .
1515

16-
RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
16+
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.20 && \
1717
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 && \
1818
chmod +x /bin/grpc_health_probe
1919

src/test/scala/com/scalableminds/fossildb/FossilDBSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FossilDBSuite extends AnyFlatSpec with BeforeAndAfterEach with TestHelpers
3434
private val aNotherKey = "aNotherKey"
3535
private val aThirdKey = "aThirdKey"
3636

37-
override def beforeEach: Unit = {
37+
override def beforeEach(): Unit = {
3838
deleteRecursively(new File(testTempDir))
3939
new File(testTempDir).mkdir()
4040

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

50-
override def afterEach: Unit = {
50+
override def afterEach(): Unit = {
5151
serverOpt.foreach(_.stop())
5252
deleteRecursively(new File(testTempDir))
5353
}

0 commit comments

Comments
 (0)