Remove unused docerfile (#27)

This commit is contained in:
Kostya 2021-06-21 17:30:46 +03:00 committed by GitHub
parent e48173b934
commit 9676d131d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 29 deletions

@ -1 +1 @@
Subproject commit 5cb25f049c719a608276a99fc4fbe852187019ca
Subproject commit a7655bc60c877a65cdfe3d9b668021d970d88a76

View File

@ -1,28 +0,0 @@
# @dockerfile.Template@
FROM openjdk:14-slim
MAINTAINER @project.maintainer@
ENV MALLOC_ARENA_MAX 2
RUN apt-get update && \
apt-get install libjemalloc2 && \
echo "/usr/lib/x86_64-linux-gnu/libjemalloc.so.2" > /etc/ld.so.preload && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY @artifactId@-@version@.jar /opt/@artifactId@/@artifactId@.jar
CMD [ "java", "-Xmx256m", \
"-XX:-TieredCompilation", \
"-XX:OnOutOfMemoryError=kill %p", \
"-XX:+HeapDumpOnOutOfMemoryError", \
"-jar", "/opt/@artifactId@/@artifactId@.jar" ]
EXPOSE @exposed.ports@
LABEL com.rbkmoney.@artifactId@.parent=service-java \
com.rbkmoney.@artifactId@.parent_tag=openjdk-14-slim \
com.rbkmoney.@artifactId@.commit_id=@git.commit.id@ \
com.rbkmoney.@artifactId@.branch=@git.branch@
WORKDIR /opt/@artifactId@