Skip to content

statically linked shellcheck segfaults in default ubuntu docker image #1053

@pan64

Description

@pan64

I have downloaded https://storage.googleapis.com/shellcheck/shellcheck-latest.linux.x86_64.tar.xz and unpacked shellcheck binary (v0.4.6) - into /tmp as shellcheck.0.4.6
I have also downloaded the default docker image for ubuntu 14.04 and tried to run it:

Here's a snippet or screenshot that shows the problem:

% docker run -t -i --entrypoint /bin/bash --rm -v /tmp:/mnt ubuntu:14.04
root@b3091cd86b69:/# /mnt/shellcheck.0.4.6
Segmentation fault (core dumped)
root@b3091cd86b69:/#

This is basically an ubuntu 14.04 desktop running docker 17.05.0-ce

Here's what shellcheck currently says:

the downloaded statically linked shellcheck works properly on the host, but not in docker.

Here's what I wanted or expected to see:

want to use it inside docker. I know there is a container available to donwload, but we have our own container (based on ubuntu 14.04) and actually I only wanted to put shellcheck into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions