Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear deployment documentation #1

Open
mwnDK1402 opened this issue Jul 8, 2021 · 1 comment
Open

Unclear deployment documentation #1

mwnDK1402 opened this issue Jul 8, 2021 · 1 comment

Comments

@mwnDK1402
Copy link

I'm getting this error on Windows, trying to build for Lambda in a container:

docker run -it --rm -v ~/.cargo/registry:/root/.cargo/registry:z -v .:/build:z lambda_builder
docker: Error response from daemon: create .;C: ".;C" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.

Seeing a real example repository with a GitHub Action for continuous deployment would help a lot.

@darioackermann
Copy link

You might want to use --mount and absolute paths for Windows. Also, depending on your setup, you might to specify windows paths to the source directory e,g.

docker volume create cargo-registry
docker run --rm --mount type=bind,source="C:\path\to\src",target=/build --mount type=volume,source=cargo-registry,target=/root/.cargo/registry/ lambda-builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants