Skip to content

Conversation

@alaye-ms
Copy link
Collaborator

No description provided.

unzip /tmp/v${DocumentDB_VERSION}.zip -d /home/documentdb/code && \
rm /tmp/v${DocumentDB_VERSION}.zip

#RUN wget -P /tmp https://github.com/documentdb/documentdb/archive/refs/tags/v${DocumentDB_VERSION}.zip && \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove commented code? We have version history so no need to retain

@alaye-ms alaye-ms linked an issue Dec 15, 2025 that may be closed by this pull request

WORKDIR /home/documentdb/gateway/scripts
#ENTRYPOINT ["/bin/bash", "-c", "/home/documentdb/gateway/scripts/emulator_entrypoint.sh \"$@\"", "--"]
ENTRYPOINT ["/bin/bash", "-c", "/home/documentdb/gateway/scripts/emulator_entrypoint.sh \"$@\"", "--"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember we had some issues and we commented it out. Now adding back. Do you remember why? Also, I prefer to make this type of changes in separate PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember an entrypoint issue, myself. We used this dockerfile to build and run a gateway image for testing and it seemed to work fine

move scripts to proper folder

Add telemetry scripts

try new docker image

adjust dockerfiles

change to local build dockerfile

Add telemetry deployment option

add final demo touches
move to new folder and add docs

Signed-off-by: Alexander Laye <alaye@microsoft.com>

adjust scripts

fix deploy location

add backup resource

delete commented code

revert to pulling the archive instead of using local docdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Metrics for failover

3 participants