Sign inSign up

phpcoder/hello-world-runtime

By phpcoder

•Updated about 10 years ago

Example of S2I runtime image with JDK8

Artifact
0

430

phpcoder/hello-world-runtime repository overview

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

Tag summary

Content type

Unrecognized

Digest

Size

141.6 MB

Last updated

about 10 years ago

docker pull phpcoder/hello-world-runtime:0.2.1