Skip to content

Commit

Permalink
dependabot alert, add dev Dockerfile, build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed May 31, 2022
1 parent a5448ae commit 9cfab66
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM jac18281828/javadev:latest

WORKDIR /build

ENV JAVA_HOME=/usr/lib/jvm/default-java

CMD mvn -U clean source:jar compile test verify package javadoc:jar
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

VERSION=$(date +%s)
PROJECT=jac18281828/$(basename ${PWD})

docker build . -t ${PROJECT}:${VERSION} && \
docker run -v ${PWD}:/build --rm -i -t ${PROJECT}:${VERSION}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.conversantmedia</groupId>
<artifactId>disruptor</artifactId>
<packaging>jar</packaging>
<version>1.2.20-SNAPSHOT</version>
<version>1.2.20</version>
<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/conversant/disruptor</url>
<description>Conversant Disruptor - very high throughput Java BlockingQueue</description>
Expand Down Expand Up @@ -239,7 +239,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 9cfab66

Please sign in to comment.