Skip to content

Commit

Permalink
Issue #7772 docker file was updated, bug with memory logging fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Oct 26, 2017
1 parent 1b30b2c commit 23518ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public long getMemoryLimit(boolean printSteps) {
if (!memoryCGroup.exists()) {
if (printSteps)
OLogManager.instance().info(this, "Can not find '%s' path for memory cgroup, it is supposed that "
+ "process is running in container, will try to read root '%s' memory cgroup data", memoryCGroupRoot);
+ "process is running in container, will try to read root '%s' memory cgroup data", memoryCGroup, memoryCGroupRoot);

memoryCGroup = new File(memoryCGroupRoot);
}
Expand Down
2 changes: 1 addition & 1 deletion distribution/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV ORIENTDB_VERSION 2.2.30-SNAPSHOT
#download distribution tar, untar and delete databases
RUN mkdir /orientdb

ADD target/orientdb-community-${ORIENTDB_VERSION}-distribution.dir/orientdb-community-${ORIENTDB_VERSION} /orientdb/
ADD target/orientdb-community-${ORIENTDB_VERSION}.dir/orientdb-community-${ORIENTDB_VERSION} /orientdb/

ENV PATH /orientdb/bin:$PATH

Expand Down

0 comments on commit 23518ec

Please sign in to comment.