This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-dist.git

commit c564d74167e96e53848ab2f2fb41504a9a011585
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon Dec 19 23:09:21 2022 +0000

    use newer maven
    
    align with brooklyn root project dockerfile
---
 Dockerfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ca7afef..dd0bfc9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,14 +15,15 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM maven:3.5.2-jdk-8-alpine
+FROM maven:3.8.6-eclipse-temurin-8
 
 # Install necessary binaries to build brooklyn-dist
-RUN apk add --no-cache git rpm dpkg
+#RUN apk add --no-cache git rpm dpkg
+RUN apt-get update && apt-get install -y git rpm dpkg
 
 # Make sure the /var/tmp (for RPM build) is writable for all users
 RUN mkdir -p /var/tmp/ && chmod -R 777 /var/tmp/
 
 # Make sure the /var/maven is writable for all users
 RUN mkdir -p /var/maven/.m2/ && chmod -R 777 /var/maven/
-ENV MAVEN_CONFIG=/var/maven/.m2
\ No newline at end of file
+ENV MAVEN_CONFIG=/var/maven/.m2

Reply via email to