Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Huge image size #149

@gsakkis

Description

@gsakkis

I'm including hdfs3 in a Docker image and the resulting size is huge:

$ docker run -it --rm hdfs3 du -sh /opt/conda
798M	/opt/conda

Removing /opt/conda/pkgs/* and all the __pycache__ directories reduces it to 500M but it's still quite large. I realize this has mostly to do with the an underlying libhdfs library but I'm wondering if you know of other directories or files that can be safely deleted (e.g include/boost/*, libicudata*, etc).

Sample Dockerfile:

FROM continuumio/miniconda3:4.3.27p0
RUN conda install --channel=conda-forge hdfs3
RUN rm -rf /opt/conda/pkgs/* && find /opt/conda -name __pycache__ -exec rm -fr {} +

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions