Skip to content

Docker build issue "./install-deps.sh: not found" for gforth-alpine #2

@p-tupe

Description

@p-tupe

Hello! First, thanks for sharing this wonderful compilation. Now, onto the issue -

I tried to build the gforth-alpine image. Unfortunately, I encountered an error like so:

 => ERROR [5/8] RUN ./install-deps.sh                                                                                                                                                                                    0.1s
------
 > [5/8] RUN ./install-deps.sh:
0.080 /bin/sh: ./install-deps.sh: not found

I tracked it down to this line in Dockerfile:

WORKDIR gforth-0.7.9_20230629/

where the version of gforth (the date part) has been updated so the work directory basically doesn't exist.

I solved it by adding the following to tar command above:

RUN tar xvfJ gforth.tar.xz --strip-components=1

where I simply went one level deep into the archive and extracted all files from there. After removing the WORKDIR everything worked fine.

Please let me know if I should create a PR with the above solution to fix the issue. Thanks!

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