FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
distroless/examples/java/Dockerfile at main · GoogleContainerTools/distroless · GitHub
GoogleContainerTools
/
distroless
Public
Notifications
You must be signed in to change notification settings
Fork
1.4k
Star
23.1k
Code
Issues
8
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
distroless
/
examples
/
java
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (9 loc) · 261 Bytes
Breadcrumbs
distroless
/
examples
/
java
/
Dockerfile
Copy path
File metadata and controls
10 lines (9 loc) · 261 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
FROM
eclipse-temurin:17-jdk AS build-env
COPY
. /app/examples
WORKDIR
/app
RUN
javac examples/*.java
RUN
jar cfe main.jar examples.HelloJava examples/*.class
FROM
gcr.io/distroless/java17-debian13
COPY
--from=build-env /app /app
WORKDIR
/app
CMD
[
"main.jar"
]
Back
|
FazBrowse Home
|
New Git URL