Skip to content

Commit 1828352

Browse files
authored
Merge pull request #8703 from jackyalbo/jacky-fix2
remove librdkafka/examples directory from our image - in order to decrease its size
2 parents fc18a63 + 959d36e commit 1828352

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/deploy/NVA_build/Base.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ FROM noobaa-builder AS noobaa-base
99
COPY ./package*.json ./
1010
RUN npm install --omit=dev && \
1111
npm cache clean --force
12+
RUN rm -rf node_modules/node-rdkafka/deps/librdkafka/examples/
13+
RUN rm -rf node_modules/node-rdkafka/deps/librdkafka/src/
1214

1315
##############################################################
1416
# Layers:

0 commit comments

Comments
 (0)