Skip to content

Commit

Permalink
CLOUDP-204105 Copied DB Tools to their own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
slaskawi committed Jan 15, 2024
1 parent d4cc3d3 commit 1e51040
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/dev/templates/agent/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ RUN tar xfz /agent/mongodb-agent.tar.gz \

RUN tar xfz /agent/mongodb-tools.tgz --directory /var/lib/mongodb-mms-automation/ && rm /agent/mongodb-tools.tgz

# This is required for static containers
RUN mkdir /tools && cp -r /var/lib/mongodb-mms-automation/mongodb-database-tools-*/* /tools

USER 2000
CMD ["/agent/mongodb-agent", "-cluster=/var/lib/automation/config/automation-config.json"]

0 comments on commit 1e51040

Please sign in to comment.