This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var path = require('path'); | |
var fs = require('fs'); | |
var xml2js = require('xml2js'); | |
var deferral; | |
function log(message) { | |
console.log(message); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Based in tutorial >> | |
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-with-cert-manager-on-digitalocean-kubernetes-pt | |
# Retired from site, check for new versions. https://kubernetes.github.io/ingress-nginx/deploy/ | |
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.35.0/deploy/static/provider/cloud/deploy.yaml | |
# Retired from site, check for new versions. https://cert-manager.io/docs/installation/kubernetes/ | |
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.0.1/cert-manager.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maven:amazoncorretto as jar | |
WORKDIR /home/app/ | |
COPY pom.xml . | |
RUN mvn -f pom.xml dependency:go-offline -B | |
COPY src src | |
RUN mvn -f pom.xml package | |
RUN mkdir -p /home/app/output/ \ | |
&& mv target/dist/*-jar-with-dependencies.jar /home/app/output/app.jar | |
FROM amazoncorretto:11 |