Beatbump icon indicating copy to clipboard operation
Beatbump copied to clipboard

[BUG] Fail to build docker image (maybe add suport for arm64?)

Open otomay opened this issue 2 years ago • 5 comments

Describe the bug

 => ERROR [proxy 4/4] RUN deno cache --reload --lock=lock.json index.ts                                                                    5.1s
------                                                                                                                                          
 > [proxy 4/4] RUN deno cache --reload --lock=lock.json index.ts:
0.491 exec /bin/sh: exec format error
------
failed to solve: process "/bin/sh -c deno cache --reload --lock=lock.json index.ts" did not complete successfully: exit code: 1

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/snuffyDev/Beatbump && cd Beatbump
  2. docker compose up
  3. error

Expected behavior Image build

Desktop (please complete the following information):

  • OS: ubuntu 22.04 arm64

otomay avatar Dec 28 '23 19:12 otomay

Take deno arm64 from here https://github.com/LukeChannings/deno-arm64

https://hub.docker.com/r/lukechannings/deno

martadinata666 avatar Dec 29 '23 01:12 martadinata666

@martadinata666 idk what should I do with it c: I read but didn't understand

otomay avatar Dec 29 '23 13:12 otomay

Change https://github.com/snuffyDev/Beatbump/blob/d00ed3e10a13ec82a6a006dd02bf9548544d1ab3/packages/proxy-server/deno/Dockerfile#L1

FROM denoland/deno:1.18.1 to FROM lukechannings/deno:v1.31.1

martadinata666 avatar Dec 29 '23 13:12 martadinata666

@martadinata666 yup, worked :D thanksss

should I close the issue?

otomay avatar Dec 31 '23 00:12 otomay

Let's make a PR and then close it.

yunho-c avatar Apr 19 '24 01:04 yunho-c