Skip to content

build docker image from Dockerfile doesn't work as expected #319

@hrv231

Description

@hrv231

Issue type

  • Bug report

cli53 version (cli53 --version)

cli53-linux-amd64

OS / Platform

alpine:latest

Steps to reproduce

wget https://github.com/barnybug/cli53/releases/download/0.8.18/cli53-linux-amd64

FROM alpine:latest
COPY cli53-linux-amd64 /bin/cli53
RUN chmod +x /bin/cli53 && apk add --no-cache openssl ca-certificates
ENTRYPOINT ["cli53"]
CMD ["-v"]

Expected behaviour

go to console, be able to type cli53 and work.

Actual behaviour

/ # cli53
sh: cli53: not found

I had to change the docker to ENTRYPOINT ["sh"] to be able to keep the docker running, but when I'm inside the SHell the cli53 is not found, but it is there if I do /bin/cli53.

I can run it as 
/ # . cli53

Have you checked if the documentation has the information you require?

Could you contribute a fix or help testing with this issue?

Yes, I'm ready to test.

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