Skip to content

Docker file build issue #2

@indrajitkalelkar

Description

@indrajitkalelkar

i am facing gosu-amd64 related issue while build the Dockerfile. Please check below error output.

=> ERROR [4/9] RUN set -x && curl -L https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64 > /usr/sbin/gosu && chmod +x /usr/sbin/gosu 0.2s

[4/9] RUN set -x && curl -L https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64 > /usr/sbin/gosu && chmod +x /usr/sbin/gosu:
0.190 + curl -L https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64
0.191 /bin/sh: 1: curl: not found


Dockerfile:40

39 |
40 | >>> RUN set -x &&
41 | >>> # curl -L https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64 > /usr/sbin/gosu &&
42 | >>> curl -L https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64 > /usr/sbin/gosu &&
43 | >>> chmod +x /usr/sbin/gosu
44 |

ERROR: failed to solve: process "/bin/sh -c set -x && curl -L https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64 > /usr/sbin/gosu && chmod +x /usr/sbin/gosu" did not complete successfully: exit code: 127
[root@localhost docker-bind]# cat Dockerfile

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