Skip to content

Commit 2dc170b

Browse files
committed
Remove pdb files to make final image smaller
1 parent b2804b3 commit 2dc170b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mongo/3.4/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN if ((Get-FileHash mongodb.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOA
1515
exit 1; `
1616
}
1717
RUN Start-Process msiexec.exe -ArgumentList '/i', 'mongodb.msi', '/quiet', '/norestart', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Server,Client,MonitoringTools,ImportExportTools,MiscellaneousTools' -NoNewWindow -Wait
18+
RUN Remove-Item C:\mongodb\bin\*.pdb
1819

1920
FROM microsoft/nanoserver
2021

0 commit comments

Comments
 (0)