Skip to content

Commit 48df146

Browse files
committed
Stop removing "*.pdb" files from Windows images
These are used when MongoDB crashes to generate useful stacktraces -- see https://jira.mongodb.org/browse/DOCS-571.
1 parent d8f72cf commit 48df146

File tree

9 files changed

+0
-9
lines changed

9 files changed

+0
-9
lines changed

3.6/windows/windowsservercore-1809/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

3.6/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.0/windows/windowsservercore-1809/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.0/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.2/windows/windowsservercore-1809/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.2/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.4/windows/windowsservercore-1809/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

4.4/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

Dockerfile-windows.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
3737
Write-Host ' mongod --version'; mongod --version; \
3838
\
3939
Write-Host 'Removing ...'; \
40-
Remove-Item C:\mongodb\bin\*.pdb -Force; \
4140
Remove-Item C:\windows\installer\*.msi -Force; \
4241
Remove-Item mongo.msi -Force; \
4342
\

0 commit comments

Comments
 (0)