Skip to content

Instantly share code, notes, and snippets.

@JaniKibichi
Created June 20, 2021 09:57
Show Gist options
  • Save JaniKibichi/2dfd3dc588585374d449935db580a55c to your computer and use it in GitHub Desktop.
Save JaniKibichi/2dfd3dc588585374d449935db580a55c to your computer and use it in GitHub Desktop.
FROM centos
#Install Java
RUN yum update -y && yum upgrade -y && yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel
ENV JAVA_HOME /etc/alternatives/jre
#Install SBT
RUN curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.repo && mv bintray-sbt-rpm.repo /etc/yum.repos.d && yum install -y sbt
WORKDIR /utility-ussd
ADD . /utility-ussd
EXPOSE 7500/tcp
CMD sbt run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment