Commit 8a534505 authored by Michael's avatar Michael Committed by Michael Peter

Add building in docker functionality

parent bbf08a03
Pipeline #46 failed with stages
FROM alpine
RUN apk update &&\
apk upgrade &&\
apk add openjdk8 maven docker ca-certificates
RUN mkdir /workdir
WORKDIR /workdir
ADD . $WORKDIR
ENTRYPOINT ["sh", "./build_in_docker.sh"]
#!/bin/bash
mvn package dockerfile:build -Dmaven.test.skip=true
#!/bin/bash
docker-compose -f docker-compose.yml -f docker-compose.prom.yml up -d
#!/bin/bash
docker-compose -f docker-compose.prom.yml -f docker-compose.yml down --remove-orphans
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment