This file contains hidden or 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
| # bash_profile | |
| ############################################# | |
| BLACK="\[\033[0;38m\]" | |
| RED="\[\033[0;31m\]" | |
| RED_BOLD="\[\033[01;31m\]" | |
| BLUE="\[\033[01;34m\]" | |
| GREEN="\[\033[0;32m\]" | |
| export PS1="$BLACK[ \u@$RED\h $GREEN\w$RED_BOLD\$(__git_ps1)$BLACK ] " |
This file contains hidden or 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
| #AZUL/ZULU(Alpine) is compiled in muslm, so it can run directly in alpine | |
| FROM azul/zulu-openjdk-alpine:12.0.1 as generateJreMinimal | |
| #This command creates a partial JRE with a selected set of modules. | |
| RUN jlink \ | |
| --add-modules java.sql,java.naming,java.management,java.instrument,java.security.jgss,java.desktop,jdk.unsupported \ | |
| --verbose \ | |
| --strip-debug \ | |
| --compress 2 \ | |
| --no-header-files \ |
This file contains hidden or 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 adoptopenjdk/openjdk12:alpine AS builder | |
| MAINTAINER Jefferson Bezerra <[email protected]> | |
| ENV DEMO_APP_FOLDER=/usr/src/app | |
| RUN mkdir -p $DEMO_APP_FOLDER | |
| WORKDIR $DEMO_APP_FOLDER | |
| # add pom.xml only here, and download dependency | |
| RUN apk --no-cache add maven | |
| ADD pom.xml $DEMO_APP_FOLDER |