Giter VIP home page Giter VIP logo

Comments (2)

tk3369 avatar tk3369 commented on July 20, 2024

You shouldn't need to use sudo. Try this instead:

docker build -t julia-lambda:latest . && docker run -it --rm -p 9000:8080 julia-lambda:latest

This is what I get:

$ DOCKER_BUILDKIT=1 docker build -t julia-lambda-2:latest . && docker run -it --rm -p 9000:8080 julia-lambda-2:latest 
[+] Building 4.0s (16/16) FINISHED                                                                                         
 => [internal] load build definition from Dockerfile                                                                  0.1s
 => => transferring dockerfile: 38B                                                                                   0.0s
 => [internal] load .dockerignore                                                                                     0.2s
 => => transferring context: 34B                                                                                      0.0s
 => [internal] load metadata for public.ecr.aws/lambda/provided:al2                                                   0.0s
 => [ 1/11] FROM public.ecr.aws/lambda/provided:al2                                                                   0.0s
 => [internal] load build context                                                                                     0.1s
 => => transferring context: 3.55kB                                                                                   0.0s
 => CACHED [ 2/11] WORKDIR /usr/local                                                                                 0.0s
 => CACHED [ 3/11] RUN yum install -y tar gzip  && curl -LO https://julialang-s3.julialang.org/bin/linux/x64/1.8/jul  0.0s
 => CACHED [ 4/11] WORKDIR /var/task                                                                                  0.0s
 => CACHED [ 5/11] COPY Manifest.toml .                                                                               0.0s
 => CACHED [ 6/11] COPY Project.toml .                                                                                0.0s
 => CACHED [ 7/11] RUN /usr/local/julia/bin/julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.API.precompile()  0.0s
 => [ 8/11] COPY . .                                                                                                  0.2s
 => [ 9/11] WORKDIR /var/runtime                                                                                      0.1s
 => [10/11] COPY --chmod=0755 bootstrap .                                                                             0.2s
 => [11/11] WORKDIR /opt/extensions                                                                                   0.1s
 => exporting to image                                                                                                2.8s
 => => exporting layers                                                                                               2.8s
 => => writing image sha256:1a69b80c07adc692ef20b93f61d1691ae01da963e4a39b71e2b569b5916f5e3f                          0.0s
 => => naming to docker.io/library/julia-lambda-2:latest                                                              0.0s
INFO[0000] exec '/var/runtime/bootstrap' (cwd=/opt/extensions, handler=) 

from aws-lambda-container-julia.

tk3369 avatar tk3369 commented on July 20, 2024

Sorry about taking so long to respond. Feel free to ping me on Slack or Discord. I lurk around those places more often than GitHub.

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.