Tag : maven

I am new to docker, and I am trying to setup docker for spring boot project. Here is my Dockerfile FROM maven:3.6.3-jdk-11-slim AS build WORKDIR usr/src/springboot COPY . ./ RUN mvn install RUN mvn clean package # # Package stage # FROM openjdk:11-jre-slim ARG JAR_NAME="springboot-0.0.1-SNAPSHOT" WORKDIR /usr/src/springboot EXPOSE 8080 COPY –from=build /usr/src/springboot/target/${JAR_NAME}.jar ./springboot.jar CMD ["java","-jar", ..

Read more

I have a docker compose file where i have two services the flamup service is used for building my spring boot application and links to a postgres image defined by the db service. Here’s the docker-compose.yml file version: ‘3.8’ volumes: postgres_data: services: flamup: build: . container_name: flamup environment: – DB_SERVER=db – POSTGRES_DB=flamup – POSTGRES_USER=postgres – ..

Read more

I am trying to a multiarch docker container with CICD using Travis ci Travis already creates and pushed the Container into Dockerhub -> but only AMD64 and I want to run it on my Raspberry either. What is the best way to do so? #we use java language: java #we add the java development kit ..

Read more

I have got the problem that the Travis build does not run through. But the Build vor AMD64 runs perfectly… Here is the log on AMD64 arch: $ java -Xmx32m -version openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~16.04-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) $ javac -J-Xmx32m -version javac 1.8.0_252 before_install.1 5.72s$ ..

Read more