Skip to content

Commit 8044221

Browse files
committed
Updated details on how to build LexiDB
1 parent d55b9bf commit 8044221

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:12-ea-jdk-alpine3.9 AS build
1+
FROM openjdk:12-jdk-alpine3.9 AS build
22

33
RUN apk add --no-cache wget unzip
44

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/matthewcoole/lexidb.svg?logo=lgtm&logoWidth=18)
55
## Build
66
### Required
7-
- [Java JDK 1.12+](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
8-
- [Gradle](https://maven.apache.org/)
7+
- [Java JDK 12](https://jdk.java.net/archive/) (In the docker build we used OpenJDK not Oracle as it is licensed under [GPLv2 + Classpath Exception](https://openjdk.java.net/legal/gplv2+ce.html)). Further in the current docker image we build with Java JDK 12 **alpine Operating System (OS)**, **but** run the LexiDB jar file using [Java JDK 16 **alpine OS** from OpenJDK](https://openjdk.java.net/projects/jdk/16/), the reason for using the Alpine OS is that it is smaller in size and [tends to have fewer security vulnerabilities compared to other Operating Systems.](https://snyk.io/blog/docker-for-java-developers/)
8+
- [Gradle](https://gradle.org/)
99

10-
Build using the following command in the project directroy;
10+
Build using the following command in the project directory;
1111

1212
```
1313
$ gradle build

0 commit comments

Comments
 (0)