Public Repository

Last pushed: a year ago
Short Description
Example of S2I runtime image with JDK8
Full Description

Dockerfile:

FROM phpcoder/base-jdk:8

LABEL io.openshift.s2i.scripts-url "image:///usr/libexec/s2i"
LABEL io.openshift.s2i.assemble-input-files "/opt/s2i/destination/src/target/hello.jar"

USER root
RUN mkdir -p /usr/libexec/s2i && \
    curl -s https://raw.githubusercontent.com/php-coder/java-maven-hello-world/s2i-assemble-and-assemble-runtime/.s2i/bin/assemble-runtime | tee /usr/libexec/s2i/assemble-runtime && \
    chmod +x /usr/libexec/s2i/assemble-runtime && \
    curl -s https://raw.githubusercontent.com/php-coder/java-maven-hello-world/s2i-assemble-and-assemble-runtime/.s2i/bin/run | tee /usr/libexec/s2i/run && \
    chmod +x /usr/libexec/s2i/run

# it's jboss user id
USER 1000
Docker Pull Command
Owner
phpcoder

Comments (0)