Giter VIP home page Giter VIP logo

Comments (3)

mattBrzezinski avatar mattBrzezinski commented on July 20, 2024

Modifying the source a bit. The result of ls -la /var/runtime/bootstrap

-rwxr-xr-x 1 root root 185 Sep 8 17:01 /var/runtime/bootstrap

from aws-lambda-container-julia.

Benvorth avatar Benvorth commented on July 20, 2024

I added a Pull-request fixing this in the dockerfile (#4). Please noe that this would need to run docker build with the DOCKER_BUILDKIT=1 flag since chmod-ing something is a feature that requires BUILDKIT enabled (see eg here).

from aws-lambda-container-julia.

tk3369 avatar tk3369 commented on July 20, 2024

I'm not able to see this problem with my test today... I was able to run it properly from AWS without doing any chmod.

When I check out the repo, the bootstrap file already has permission 0775. I think the COPY command should have carried over the executable flag. Right?

(base) ✔ ~/AWS/aws-lambda-container-julia [tk/julia-1.8-update|✔] 
03:14 $ ls -l
total 40
-rwxrwxr-x 1 ec2-user ec2-user  186 Jan  3 02:16 bootstrap
-rw-rw-r-- 1 ec2-user ec2-user 1201 Jan  3 03:02 Dockerfile
-rw-rw-r-- 1 ec2-user ec2-user 1102 Jan  3 02:16 LICENSE
-rw-rw-r-- 1 ec2-user ec2-user 3227 Jan  3 02:16 main.jl
-rw-rw-r-- 1 ec2-user ec2-user   71 Jan  3 02:16 Manifest.toml
-rw-rw-r-- 1 ec2-user ec2-user  257 Jan  3 02:16 Project.toml
-rw-rw-r-- 1 ec2-user ec2-user 3153 Jan  3 03:12 README.md
drwxrwxr-x 2 ec2-user ec2-user 4096 Jan  3 02:16 scripts
drwxrwxr-x 2 ec2-user ec2-user 4096 Jan  3 02:16 src
drwxrwxr-x 2 ec2-user ec2-user 4096 Jan  3 02:16 test

from aws-lambda-container-julia.

Related Issues (2)

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.