terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

Base and teraslice image carrying unnecessary packages and deps #3634

Open sotojn opened 1 month ago

sotojn commented 1 month ago

As of right now out base image and teraslice image carries a lot of unwanted packages and utilities such as the following:

This list needs to be expanded on but here is the list of everything we install in the base image

RUN apk --no-cache add \
    bash \
    curl \
    tini \
    apk-tools \
    build-base \
    ca-certificates \
    libstdc++ \
    lz4-dev \
    musl-dev \
    ncurses-terminfo \
    libssh2-dev \
    openssl-dev \
    cyrus-sasl-dev \
    zstd-dev \
    python3

We may need to read into all of these and see why each of these are used and restructure our Dockerfiles to reduce size and cut out things that are only used during build time.

godber commented 1 month ago

Ultimately I see us trying to address the problem stated in this issue by making another attempt at this issue:

https://github.com/terascope/teraslice/issues/3518