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

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

Make modifications to DockerFile


# This was sourced from
# Pull base image
FROM alpine:3.5
MAINTAINER Jason Enneking

# 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 ————>


$ 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

in your pom file.

Docker Pull Command

Comments (0)