Public Repository

Last pushed: 6 months ago
Short Description
Docker Image used for uPortal360 - Base of Alpine Linux plus Java JRE 8
Full Description

Build DockerImage File - Host on Docker hub

Clone the docker-salesforce project

Clone base project - docker build file
https://github.com/ycn/docker-minimal-java

Open STS - Import Project from Git - Clone URI
Choose defaults to import project - General

Make modifications to DockerFile

<————DOCKER FILE START ————>

# This was sourced from https://github.com/ycn/docker-minimal-java
# Pull base image
FROM alpine:3.5
MAINTAINER Jason Enneking jenneking@ugafinance.com

# JRE - Added from Amkor Salesforce DockerFile
# Update and add Bash
RUN apk update
RUN apk add bash

# Install Java
RUN apk --no-cache add openjdk8-jre

# JRE everything below was part of base git repo
# Set the timezone
#RUN apk --no-cache add tzdata \
# && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
# && echo "Asia/Shanghai" > /etc/timezone \
# && apk del tzdata

# Define commonly used JAVA_HOME variable
#ENV JAVA_HOME /usr/lib/jvm/default-jvm

# Set Unlimited Strength Jurisdiction Policy Files
#COPY UnlimitedJCEPolicyJDK8/ $JAVA_HOME/jre/lib/security/

# Define default command
#CMD ["java", "-version"]

<————DOCKER FILE END ————>

Save

$ cd /Users/jenneking/git/docker-minimal-java

$ docker build -t jenneking/up360dockerimage .

$ docker images

$ docker tag <imageID> jenneking/up360dockerimage:1.0

$ docker login --username=** --password=*

$ docker push jenneking/up360dockerimage:1.0

<your-dockername>/dockersf
in your pom file.

Docker Pull Command
Owner
jenneking

Comments (0)