Skip to content

Package installation fails when volume mounted #22

@suud

Description

@suud

Executing the following commands from the README.md results in a series of errors:

mkdir -p dependencies
docker run --rm -v "$PWD"/dependencies:/lambda/opt lambci/yumda:2 yum install -y git GraphicsMagick jp2a

Errors:

Installing : libjpeg-turbo-1.2.90-6.lambda2.0.3.x86_64                   1/44Error unpacking rpm package libjpeg-turbo-1.2.90-6.lambda2.0.3.x86_64

error: unpacking of archive failed on file /opt/lib/libjpeg.so.62.1.0;6512c11f: cpio: open
  Installing : fipscheck-1.4.1-6.lambda2.0.2.x86_64                        2/44Error unpacking rpm package fipscheck-1.4.1-6.lambda2.0.2.x86_64

error: libjpeg-turbo-1.2.90-6.lambda2.0.3.x86_64: install failed
error: unpacking of archive failed on file /opt/bin/fipscheck;6512c11f: cpio: open
[...]

These commands did work for me a couple of weeks ago.

When removing the volume mount, installation does not fail:

docker run --rm lambci/yumda:2 yum install -y git GraphicsMagick jp2a

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