Skip to content

Commit

Permalink
Updated details on how to build LexiDB
Browse files Browse the repository at this point in the history
  • Loading branch information
apmoore1 committed Jul 20, 2021
1 parent d55b9bf commit 8044221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:12-ea-jdk-alpine3.9 AS build
FROM openjdk:12-jdk-alpine3.9 AS build

RUN apk add --no-cache wget unzip

Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/matthewcoole/lexidb.svg?logo=lgtm&logoWidth=18)
## Build
### Required
- [Java JDK 1.12+](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- [Gradle](https://maven.apache.org/)
- [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/)
- [Gradle](https://gradle.org/)

Build using the following command in the project directroy;
Build using the following command in the project directory;

```
$ gradle build
Expand Down

0 comments on commit 8044221

Please sign in to comment.