Skip to content

Alpine docker image is missing libcap-setcap #7241

@sviatlo

Description

@sviatlo

Hello,
I am deploying OSRM-backend in k8s. The OSRM container in the deployment is configured to run with

securityContext:
  capabilities:
    add:
    - IPC_LOCK

I would like my deployment to use just osrm-datastore --dataset-name=us /data/usa.osrm && osrm-routed -t 32 --dataset-name=us --shared-memory=on as a command, but at the moment I am forced to run apk add libcap-setcap && setcap "cap_ipc_lock=ep" `which osrm-datastore` as well.
I would like to add libcap-setcap dependency to the runstage.

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