Last active
December 31, 2020 05:05
-
-
Save sahajamit/73a57cdb0b71e8bb4b48a5c2d356d41a to your computer and use it in GitHub Desktop.
Dockerfile_simple.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos7 | |
ARG JAVA_VERSION="1.8.0" | |
LABEL maintainer="[email protected]" | |
WORKDIR /app | |
RUN chmod 666 /etc/passwd && chown root:root /etc/passwd | |
RUN yum install -y java-$JAVA_VERSION-openjdk-devel unzip && mkdir -p /opt/lib | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment