FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docker-lambda/java8/build/Dockerfile at build-python3.6 · sdscgithub/docker-lambda · GitHub
sdscgithub
/
docker-lambda
Public
forked from
lambci/docker-lambda
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docker-lambda
/
java8
/
build
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (14 loc) · 954 Bytes
Breadcrumbs
docker-lambda
/
java8
/
build
/
Dockerfile
Copy path
File metadata and controls
19 lines (14 loc) · 954 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
FROM
lambci/lambda-base:build
ENV
AWS_EXECUTION_ENV=AWS_Lambda_java8
WORKDIR
/
RUN
rm -rf /var/runtime /var/lang && \
curl https://lambci.s3.amazonaws.com/fs/java8.tgz | tar -zx -C / && \
yum install -y --releasever=latest java-1.8.0-openjdk-devel-1.8.0.181 && \
mkdir /usr/local/gradle && curl -L -o gradle.zip https://services.gradle.org/distributions/gradle-5.2-bin.zip && \
unzip -d /usr/local/gradle gradle.zip && rm gradle.zip && mkdir /usr/local/maven && \
curl -L http://mirror.metrocast.net/apache/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz | \
tar -zx -C /usr/local/maven
ENV
PATH=
"/usr/local/gradle/gradle-5.2/bin:/usr/local/maven/apache-maven-3.6.0/bin:${PATH}"
#
Add these as a separate layer as they get updated frequently
RUN
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python && \
pip install -U awscli boto3 aws-sam-cli==0.15.0 aws-lambda-builders==0.3.0 --no-cache-dir
Back
|
FazBrowse Home
|
New Git URL