Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base and teraslice image carrying unnecessary packages and deps #3634

Closed
sotojn opened this issue May 28, 2024 · 2 comments
Closed

Base and teraslice image carrying unnecessary packages and deps #3634

sotojn opened this issue May 28, 2024 · 2 comments
Assignees

Comments

@sotojn
Copy link
Contributor

sotojn commented May 28, 2024

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

  • python
  • setuptools

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.

@sotojn sotojn self-assigned this May 28, 2024
@godber
Copy link
Member

godber commented May 29, 2024

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

#3518

@godber
Copy link
Member

godber commented Oct 17, 2024

I'm going to close this for now, we'll try to reduce the image size again in the future, but probably like #3518

@godber godber closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants