Skip to content

Commit f9e02c7

Browse files
committed
added gid
1 parent accc428 commit f9e02c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

images/runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COPY src/main/c/libfnunixsocket.so /function/runtime/lib/
44

55
RUN ["/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java", "-Xshare:dump"]
66

7-
RUN addgroup --system --gid 1000 fn && adduser fn --uid 1000 --group fn
7+
RUN addgroup --system --gid 1000 fn && adduser --uid 1000 --gid 1000 fn
88

99
# UseCGroupMemoryLimitForHeap looks up /sys/fs/cgroup/memory/memory.limit_in_bytes inside the container to determine
1010
# what the heap should be set to. This is an experimental feature at the moment, thus we need to unlock to use it.

0 commit comments

Comments
 (0)