Skip to content

Commit 5096225

Browse files
authored
Move licenses to correct dir (#456)
# Summary License files were placed incorrectly in mongodb agent images causing preflights to fail. ## Proof of Work <!-- Enter your proof that it works here.--> ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
1 parent 68fcb3f commit 5096225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/mongodb-agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ RUN mkdir -p /agent \
8585
&& chmod ugo+rw /var/log/mongodb-mms-automation/readiness.log
8686

8787
# Copy scripts to a safe location that won't be overwritten by volume mount
88-
COPY ./docker/mongodb-kubernetes-init-database/content/LICENSE /data/LICENSE
88+
COPY ./docker/mongodb-kubernetes-init-database/content/LICENSE /licenses/LICENSE
8989
COPY ./docker/mongodb-agent/agent-launcher-shim.sh /usr/local/bin/agent-launcher-shim.sh
9090
COPY ./docker/mongodb-agent/setup-agent-files.sh /usr/local/bin/setup-agent-files.sh
9191
COPY ./docker/mongodb-agent/dummy-probe.sh /usr/local/bin/dummy-probe.sh

0 commit comments

Comments
 (0)