mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Move to alpine
This commit is contained in:
parent
ea629b3098
commit
3badb97d49
1 changed files with 5 additions and 4 deletions
|
|
@ -8,16 +8,17 @@ RUN cd ujetl && mvn package
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM centos:centos7
|
#FROM centos:centos7
|
||||||
|
FROM openjdk:8-alpine
|
||||||
MAINTAINER Derry Hamilton <derryh@rasilon.net>
|
MAINTAINER Derry Hamilton <derryh@rasilon.net>
|
||||||
|
|
||||||
RUN yum -y install epel-release
|
#RUN yum -y install epel-release
|
||||||
RUN yum -y install java-1.8.0-openjdk-devel
|
#RUN yum -y install java-1.8.0-openjdk-devel
|
||||||
|
|
||||||
RUN mkdir -p /usr/share/ujetl/lib/ /var/ujetl /etc/ujetl
|
RUN mkdir -p /usr/share/ujetl/lib/ /var/ujetl /etc/ujetl
|
||||||
|
|
||||||
COPY --from=builder /ujetl/target/CopyingApp-2.*-jar-with-dependencies.jar /usr/share/ujetl/lib/CopyingApp.jar
|
COPY --from=builder /ujetl/target/CopyingApp-2.*-jar-with-dependencies.jar /usr/share/ujetl/lib/CopyingApp.jar
|
||||||
COPY --from=builder /ujetl/install_extra/copying_defaults_log4j.xml /etc/ujetl/
|
COPY --from=builder /ujetl/install_extra/copying_defaults_log4j.xml /etc/ujetl/
|
||||||
COPY ujetl_entrypoint /
|
COPY docker/multistage/ujetl_entrypoint /
|
||||||
ENTRYPOINT ["/ujetl_entrypoint"]
|
ENTRYPOINT ["/ujetl_entrypoint"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue