FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rust-lambda-container-example/Makefile at develop · horatos/rust-lambda-container-example · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
horatos
/
rust-lambda-container-example
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rust-lambda-container-example
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (14 loc) · 466 Bytes
Breadcrumbs
rust-lambda-container-example
/
Makefile
Copy path
File metadata and controls
18 lines (14 loc) · 466 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY
: develop-image image run
IMAGE
=rust-lambda-container-example
UID:
=
`
id -u
`
GID:
=
`
id -g
`
PWD:
=
`
pwd
`
develop-image
:
docker build --build-arg UID=
${UID}
--build-arg GID=
${GID}
\
--target develop -t
${IMAGE}
:develop
.
image
:
docker build -t
${IMAGE}
:latest
.
run
:
docker run -it --rm --mount type=bind,source=
"
${PWD}
/target/debug/rust-lambda-container-example
"
,target=/var/runtime/bootstrap
\
-p 9000:8080
\
public.ecr.aws/lambda/provided:al2 handler
Back
|
FazBrowse Home
|
New Git URL