mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add cloud profiler to Docker image
This commit is contained in:
parent
de5903a6e9
commit
c46f460527
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ FROM openjdk:11-jre
|
|||
RUN apt-get update && apt-get install -y git sqlite3 procps htop net-tools sockstat \
|
||||
&& rm -rf /var/lib/apt/lists
|
||||
|
||||
RUN mkdir -p /opt/cprof && \
|
||||
wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
|
||||
| tar xzv -C /opt/cprof
|
||||
|
||||
RUN useradd --create-home node
|
||||
|
||||
COPY --from=builder /git-bridge.jar /
|
||||
|
|
Loading…
Reference in a new issue