Skip to content

Instantly share code, notes, and snippets.

@sahajamit
Last active December 31, 2020 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sahajamit/73a57cdb0b71e8bb4b48a5c2d356d41a to your computer and use it in GitHub Desktop.
Save sahajamit/73a57cdb0b71e8bb4b48a5c2d356d41a to your computer and use it in GitHub Desktop.
Dockerfile_simple.txt
FROM centos:centos7
ARG JAVA_VERSION="1.8.0"
LABEL maintainer="sahajamit@gmail.com"
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