Comments (6)
Thanks, I'm gonna sort this out. Working on a few issues that relate:
from lamby.
Hey! Just an update... I could not make it work for arm64, but with to x86_64 I had to do some small changes.
At first I've added to cookiecutter script (also i've added platform to all dockerfiles)
--platform=linux/x86_64
With this architecture I can use SAM, but it complains about docker:
Building image for "RailsLambda" requires Docker. is Docker running?
So on .devcontainer, i've added:
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
to the docker-compose.yml, so I can access docker inside the devcontainer.
After exposing my docker.sock to devcontainer, I got:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get https://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json: dial unix /var/run/docker.sock: connect: permission denied
So i've created a group and provided a read write permission to it:
# Creating a group - docker
sudo groupadd docker
# Adding user to the group "docker"
sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock
After that, everything worked... I'm not sure if this changes are secure or okay to do, so I want to ask you about it. What do you think?
from lamby.
I'm working on this under these issues. #143 Will post back when finished. Getting close.
from lamby.
I'm also hoping for a resolution for this. Stupid M1 macs.
from lamby.
Getting really really close.
from lamby.
Wrapped up a bunch of work summed up here in the guides. Update to the site should happen shortly. Let me know if this helps. rails-lambda/lamby-site#60
from lamby.
Related Issues (20)
- Docs on Advanced Usage & Configs HOT 1
- uninitialized constant Kernel::Lamby HOT 3
- v4 Upgrade Guide? HOT 8
- Issue while runing ./bin/deploy from the RAils on Lambda in 5min guide HOT 14
- Outline Arm64 Steps HOT 3
- libmysqlclient.so.18: cannot open shared object file: No such file or directory HOT 3
- Documentation on how to Add Middleware (V4) HOT 2
- Document what exact AWS-managed policies are needed for the access key HOT 5
- SIGTERM SignalException: Init error when loading handler HOT 5
- Codespaces Share HOT 1
- Don't set percent encoded queries into Rack Environment's `QUERY_STRING` HOT 1
- cannot load such file -- config/environment HOT 3
- Too slow even with provisioned provisioned concurrency HOT 6
- Opinionated OpenID Connect HOT 2
- Postgres ? HOT 2
- Ensure VPC Lattice Events Work HOT 2
- Use Image Devcontainer Step in GitHub Actions HOT 1
- Unable to run my app or the cookiecutter... getting error `materialize': Could not find HOT 18
- Performance vs traditional server HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lamby.