FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rust-lambda-container-example/Dockerfile 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
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (17 loc) · 611 Bytes
Breadcrumbs
rust-lambda-container-example
/
Dockerfile
Copy path
File metadata and controls
27 lines (17 loc) · 611 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
19
20
21
22
23
24
25
26
27
FROM
public.ecr.aws/lambda/provided:al2 AS develop
RUN
yum groupinstall
"Development Tools"
-y && \
yum install -y shadow-utils
ENV
PATH $PATH:/usr/sbin
ARG
USERNAME=app
ARG
GROUPNAME=app
ARG
UID
ARG
GID
RUN
getent group $GID || groupadd -g $GID $GROUPNAME
RUN
useradd -m -s /bin/bash -u $UID -g $GID $USERNAME
USER
$USERNAME
WORKDIR
/home/$USERNAME
RUN
curl --proto
'=https'
--tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV
PATH $PATH:/home/$USERNAME/.cargo/bin
FROM
public.ecr.aws/lambda/provided:al2
COPY
./target/debug/rust-lambda-container-example /var/runtime/bootstrap
CMD
[
"handler"
]
Back
|
FazBrowse Home
|
New Git URL