Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
FROM centos:latest
RUN yum-builddep -y java-1.8.0-openjdk
RUN yum install -y java-1.8.0-openjdk-devel make file which unzip nano hg compat-gcc-44 compat-gcc-44-c++ compat-glibc-headers-2.12 elfutils-libelf-devel numactl-devel
RUN useradd openjdk
#Update git to latest, for OpenJ9
RUN rpm -U && yum install -y git
#Download freemarker for OpenJ9
RUN cd /home/openjdk \
&& curl -L -o freemarker.tgz \
&& tar -xvf freemarker.tgz freemarker-2.3.8/lib/freemarker.jar --strip=2 \
&& chown openjdk:openjdk /home/openjdk/freemarker.jar \
&& rm freemarker.tgz
USER openjdk
WORKDIR /home/openjdk
ENTRYPOINT [ "/bin/bash" ]