From b77ee1c03860de5b40be43917849a4a3a32f6548 Mon Sep 17 00:00:00 2001 From: Alex Bogdanovski Date: Sun, 7 Feb 2021 11:26:51 +0200 Subject: [PATCH] updated Dockerfile --- Dockerfile | 5 ++--- LICENSE | 2 +- src/main/java/com/erudika/para/cache/HazelcastCache.java | 2 +- src/main/java/com/erudika/para/cache/HazelcastUtils.java | 2 +- src/test/java/com/erudika/para/cache/CacheTest.java | 2 +- src/test/java/com/erudika/para/cache/HazelcastCacheIT.java | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab5f0b8..f243343 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:8-jdk-alpine +FROM openjdk:11-jre-slim RUN mkdir -p /para/lib @@ -7,5 +7,4 @@ WORKDIR /para ENV PARA_PLUGIN_ID="para-cache-hazelcast" \ PARA_PLUGIN_VER="1.36.0" -RUN wget -q -P /para/lib/ https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/$PARA_PLUGIN_ID/$PARA_PLUGIN_VER/$PARA_PLUGIN_ID-$PARA_PLUGIN_VER-shaded.jar \ - || exit 2 +ADD https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/$PARA_PLUGIN_ID/$PARA_PLUGIN_VER/$PARA_PLUGIN_ID-$PARA_PLUGIN_VER-shaded.jar /para/lib/ diff --git a/LICENSE b/LICENSE index cbc393c..e71a285 100755 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2020 Erudika LTD, https://erudika.com + Copyright 2021 Erudika LTD, https://erudika.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/main/java/com/erudika/para/cache/HazelcastCache.java b/src/main/java/com/erudika/para/cache/HazelcastCache.java index a7792cf..9d1fd88 100644 --- a/src/main/java/com/erudika/para/cache/HazelcastCache.java +++ b/src/main/java/com/erudika/para/cache/HazelcastCache.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2020 Erudika. https://erudika.com + * Copyright 2013-2021 Erudika. https://erudika.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/erudika/para/cache/HazelcastUtils.java b/src/main/java/com/erudika/para/cache/HazelcastUtils.java index a342c0a..3cd9eae 100644 --- a/src/main/java/com/erudika/para/cache/HazelcastUtils.java +++ b/src/main/java/com/erudika/para/cache/HazelcastUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2020 Erudika. https://erudika.com + * Copyright 2013-2021 Erudika. https://erudika.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/erudika/para/cache/CacheTest.java b/src/test/java/com/erudika/para/cache/CacheTest.java index 3d165c5..b97ac59 100644 --- a/src/test/java/com/erudika/para/cache/CacheTest.java +++ b/src/test/java/com/erudika/para/cache/CacheTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2020 Erudika. https://erudika.com + * Copyright 2013-2021 Erudika. https://erudika.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/com/erudika/para/cache/HazelcastCacheIT.java b/src/test/java/com/erudika/para/cache/HazelcastCacheIT.java index 5886e9d..5d221cd 100644 --- a/src/test/java/com/erudika/para/cache/HazelcastCacheIT.java +++ b/src/test/java/com/erudika/para/cache/HazelcastCacheIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2020 Erudika. https://erudika.com + * Copyright 2013-2021 Erudika. https://erudika.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.