Giter VIP home page Giter VIP logo

Comments (7)

msoap avatar msoap commented on September 15, 2024 1

hm, interesting, that's true, binary from docker-hub, when i pull with --platform linux/arm64:

file shell2http
shell2http: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=6koEGbrEEGBTYGkn9hzX/27hYYvHrvh-qBhB9K43g/H2m6LhSg5yfQBc-0NQCs/-NilITePHkXAPU22lnRu, stripped

but when i build image locally with --platform linux/arm64 then binary with correct arch:

file shell2http
shell2http: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=l_gAaStGsLksdYfmePXG/QMzehRPei214aKm824Mb/XHEXvBq37vu2U1-3IoWA/Kj5xNi43t3Eotu8ny5mN, stripped

maybe something wrong with Github Action for build images, but it works well before, i'll try to create new tag for create new images

from shell2http.

Liad-n avatar Liad-n commented on September 15, 2024 1

@msoap
Confirmed that 1.17.0 fixes the issue thanks a lot!

from shell2http.

msoap avatar msoap commented on September 15, 2024

hi @Liad-n, could you please provide minimal example of docker run ... command with this error?

from shell2http.

Liad-n avatar Liad-n commented on September 15, 2024

of course, thanks for the quick response
I attached into the container and inside it ran /app/shell2http, a normal docker run gives me an exec format error - probably has the x86 binary instead of the arm one, I checked and the 1.16.0 executable for arm works perfectly when downloaded from github.

image

from shell2http.

msoap avatar msoap commented on September 15, 2024

as workaround you can also build it locally:

docker build -t msoap/shell2http --platform=linux/arm64 .

in project root

from shell2http.

Liad-n avatar Liad-n commented on September 15, 2024

Perfect thank you @msoap

from shell2http.

msoap avatar msoap commented on September 15, 2024

@Liad-n seems to have fixed it, pls check with pull latest image (or :1.17.0 tag)

from shell2http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.