Skip to content

How to exclude a specific binary file from optimization process? #18

@ammnt

Description

@ammnt

Hello,

How to exclude a specific binary file from optimization process? For example I just want to keep some binary file with path /usr/sbin/run or something like this. My build action is:

      - name: Slim the Docker image🚀
        id: slim
        uses: kitabisa/docker-slim-action@v1.2.0
        env:
          DSLIM_HTTP_PROBE: false
        with:
          target: ghcr.io/ammnt/nginx:${{ env.APP_VERSION }}
          tag: ghcr.io/ammnt/nginx:${{ env.APP_VERSION }}
          overwrite: true
          version: 1.40.11
          args: --report slim.report.json

Thanks,
Best regards

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