Giter Club home page Giter Club logo

Comments (14)

Marknjo avatar Marknjo commented on August 11, 2024 3

@ImBIOS Tested today and the problem is gone from my end. Thanks 😃

from bun-node.

jjrise avatar jjrise commented on August 11, 2024 3

works for me too! Thanks!

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024 1

@scippio Fixed here:

I forgot to rebuild all images which have permission issues. I'm considering rebuilding all of it after pin point exactly every images which need this.

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024

@dest1n1s thanks for mentioning potential solution for this issue, would you like to open a PR regarding this issue?

from bun-node.

colinricardo avatar colinricardo commented on August 11, 2024

having this issue too

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024

okay, let me handle it. for the moment, if it's in production, you can roll back to any image version available that works for your project.

from bun-node.

jjrise avatar jjrise commented on August 11, 2024

looks like you pushed a fix but I'm still getting the same permission denied on :latest ?

FROM imbios/bun-node:latest

# this fixes it....
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

from bun-node.

Marknjo avatar Marknjo commented on August 11, 2024

@jjrise thanks for that tip. However, I suppose everyone reading this will wonder where exactly to add this line. If you are in that boat, here is an example in a NestJs setup with two stages - dev & production.

FROM imbios/bun-node:latest As development 

WORKDIR /usr/src/app


COPY package.json ./
COPY bun.lockb ./

RUN bun install

COPY . .

RUN bun run build
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

Kindly note the command is right after the build command (this important in my case)

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024

@dest1n1s @Marknjo @colinricardo @jjrise found out that I forgot to build each of the latest updates, are these problems been solved on your side?

from bun-node.

scippio avatar scippio commented on August 11, 2024

Same error with imbios/bun-node:1-20.10-alpine

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024

@scippio Sorry, it might take more time than I expected, I can't even reproduce. I'm facing this issue with Docker at the moment:

I appreciate it if anyone wants to help.

from bun-node.

scippio avatar scippio commented on August 11, 2024

Oh, I'm sorry I don't using any Windows things.

from bun-node.

ImBIOS avatar ImBIOS commented on August 11, 2024

@scippio I can't reproduce the issue, I consider this as another issue. Please open a new issue with some details so I can reproduce and help you fix this issue.

󰀵  󱑍 09:57  ﱮ bun-node    main  via 🐍 v3.10.12 
 ✗  docker run --expose 3000 next-app-example     
$ next start
   ▲ Next.js 14.0.4
   - Local:        http://localhost:3000

 ✓ Ready in 462ms

from bun-node.

scippio avatar scippio commented on August 11, 2024

I think it's same bug.

How to reproduce:
docker run imbios/bun-node:1-20.10-alpine:

~ $  docker image rm imbios/bun-node:1-20.10-alpine                                                                                                                                                                                            
Untagged: imbios/bun-node:1-20.10-alpine                                                                                                                                                                                                        
Untagged: imbios/bun-node@sha256:0ba6758ad5c645e9d0eca8ac201ba8d5761a06f46b090e2f25824e145037de3d                                                                                                                                               
Deleted: sha256:723e5ac1689a9309406d789598ae4ea0b2ed79329c18ebec633e6d451ef84975                                                                                                                                                                
Deleted: sha256:51ef9c668ecad92619bb83b5654c4c649ca35d27cf01e8dfe794c0d5f8cdf213                                                                                                                                                                
Deleted: sha256:4ae2c8858c3f9f26346b172e5899daa72eac1d1926a35578774d3802c5365da2                                                                                                                                                                
Deleted: sha256:6f4b479027a6f28deb20b4ee8b2d1c1c49712d57b093d1bb4e3d3f984eb7901b                                                                                                                                                                
Deleted: sha256:cd8986ed1f0d56bdcf1529e7d0deb0aae6f1b856be661f960100384b00e345be                                                                                                                                                                
Deleted: sha256:6d00cabd64038d1152162eb5d5d703348fc99a956a084f1679bbc358450a8d84                                                                                                                                                                
Deleted: sha256:52009624f5ca3deefacaca3982b6d0a83078f5e4356977e7e34629878de11619                                                                                                                                                                
Deleted: sha256:17efb95b6d7cbbf7d9d08884c8b83137a020f18064e078e47ef2dcafb929cb02                                                                                                                                                                
Deleted: sha256:a13b98e915879a6da633dddbb5f3d136f13638fdd7c637617e00286a5005f769                                                                                                                                                                
Deleted: sha256:f6fe4fb6d9eb704b86954f9da72bdcbcb5e95ea401737eaae0e572c82475f866                                                                                                                                                                
Deleted: sha256:9fe9a137fd002363ac64f5af66146702432b638a83ee0c5b620c40a9e433e813                                                                                                                                                                
~ $  docker image rmrun imbios/bun-node:1-20.10-alpine^C                                                                                                                                                                                       
~ $  docker image rmimages rm imbios/bun-node:1-20.10-alpine^C                                                                                                                                                                                 
~ $  docker run imbios/bun-node:1-20.10-alpine                                                                                                                                                                                                 
Unable to find image 'imbios/bun-node:1-20.10-alpine' locally                                                                                                                                                                                   
1-20.10-alpine: Pulling from imbios/bun-node                                                                                                                                                                                                    
c926b61bad3b: Pull complete                                                                                                                                                                                                                     
b519384a30f5: Pull complete                                                                                                                                                                                                                     
4b45d679ee3e: Pull complete                                                                                                                                                                                                                     
095f19a54610: Pull complete                                                                                                                                                                                                                     
9dd255ddfcfb: Pull complete                                                                                                                                                                                                                     
d8c542cba2e5: Pull complete                                                                                                                                                                                                                     
d7695e005a92: Pull complete                                                                                                                                                                                                                     
13a00f3ad705: Pull complete                                                                                                                                                                                                                     
5b7a635d84d4: Pull complete                                                                                                                                                                                                                     
24f579977c35: Pull complete                                                                                                                                                                                                                     
Digest: sha256:0ba6758ad5c645e9d0eca8ac201ba8d5761a06f46b090e2f25824e145037de3d                                                                                                                                                                 
Status: Downloaded newer image for imbios/bun-node:1-20.10-alpine                                                                                                                                                                               
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/usr/local/bin/docker-entrypoint.sh": permission denied: unknown.                                                                                                                                                                                                                                 
ERRO[0034] error waiting for container: context canceled  

from bun-node.

Related Issues (13)

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.