17 lines
610 B
Docker
17 lines
610 B
Docker
FROM openjdk:8
|
|
|
|
RUN echo "deb http://archive.debian.org/debian/ stretch main contrib non-free" > /etc/apt/sources.list \
|
|
&& echo "deb-src http://archive.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list \
|
|
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/10no-check-valid
|
|
|
|
RUN apt-get update
|
|
#RUN apt-get install -y iputils-ping dnsutils vim net-tools --allow-unauthenticated
|
|
|
|
WORKDIR /app
|
|
|
|
COPY target/india_market_java.jar /app/app.jar
|
|
|
|
COPY docker-entrypoint.sh /usr/local/bin/
|
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
|
|
|
CMD ["docker-entrypoint.sh"] |