mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add cloud debug agent to Docker image
This commit is contained in:
parent
a469bc6732
commit
9c8ff2f022
1 changed files with 6 additions and 0 deletions
|
@ -28,10 +28,16 @@ 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
|
||||
|
||||
# Install Google Cloud Profiler agent
|
||||
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
|
||||
|
||||
# Install Google Cloud Debugger agent
|
||||
RUN mkdir /opt/cdbg && \
|
||||
wget -qO- https://storage.googleapis.com/cloud-debugger/compute-java/debian-wheezy/cdbg_java_agent_gce.tar.gz | \
|
||||
tar xvz -C /opt/cdbg
|
||||
|
||||
RUN useradd --create-home node
|
||||
|
||||
COPY --from=builder /git-bridge.jar /
|
||||
|
|
Loading…
Reference in a new issue