GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-sdk/docker/Dockerfile at master · sibsankarb4/java-sdk

Expand file tree

/

Dockerfile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
13 lines (10 loc) · 350 Bytes
/

Dockerfile

Copy path

File metadata and controls

13 lines (10 loc) · 350 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
# Import java base image (using maven to build project)
FROM maven:3.6.1-jdk-11-slim
# Copy project files
COPY pom.xml /app/pom.xml
COPY src /app/src
WORKDIR /app
# Build project
RUN mvn compiler:compile -f "/app/pom.xml"
# Be sure to change the main class name if you use your own files!
RUN mvn -e exec:java -Dexec.mainClass="com.ibm.DockerTest"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.