Skip to content

Commit 03bc848

Browse files
committed
dockerfile: removed unused DLLs from image for Windows Containers.
Signed-off-by: Marat Abrarov <[email protected]>
1 parent ebc19e6 commit 03bc848

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dockerfiles/Dockerfile.windows

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ RUN $msvs_build_tools_dist_name=\"vs_buildtools.exe\"; `
4444
'--includeRecommended' -NoNewWindow -Wait; `
4545
Remove-Item -Force \"${msvs_build_tools_dist}\";
4646

47-
4847
ENV CMAKE_HOME="C:\cmake"
4948
ARG CMAKE_VERSION="3.31.6"
5049
ARG CMAKE_URL="https://github.com/Kitware/CMake/releases/download"
@@ -141,12 +140,6 @@ ENV VCPKG_BUILD_TYPE=release `
141140
RUN vcpkg install --recurse openssl --triplet x64-windows-static; `
142141
vcpkg install --recurse libyaml --triplet x64-windows-static;
143142

144-
# Technique from https://github.com/StefanScherer/dockerfiles-windows/blob/master/mongo/3.6/Dockerfile
145-
WORKDIR /fluent-bit/bin
146-
RUN Copy-Item -Path C:\Windows\System32\msvcp140.dll -Destination /fluent-bit/bin/; `
147-
Copy-Item -Path C:\Windows\System32\vccorlib140.dll -Destination /fluent-bit/bin/; `
148-
Copy-Item -Path C:\Windows\System32\vcruntime140.dll -Destination /fluent-bit/bin/;
149-
150143
FROM builder-base AS builder
151144

152145
# Build Fluent Bit from source - context must be the root of the Git repo

0 commit comments

Comments
 (0)