You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
420 B
Docker
24 lines
420 B
Docker
FROM frolvlad/alpine-oraclejdk8
|
|
|
|
MAINTAINER EstiNet
|
|
|
|
ARG PORT_NUM
|
|
ENV PORT_NUM ${PORT_NUM:-10200}
|
|
|
|
ARG CS_NAME
|
|
ENV CS_NAME ${CS_NAME:-FusionPlay1}
|
|
|
|
EXPOSE 19005 $PORT_NUM
|
|
|
|
COPY . /usr/src/server
|
|
WORKDIR /usr/src/server
|
|
|
|
RUN echo server-port=$PORT_NUM >> server.properties
|
|
RUN echo " Name: $CS_NAME" >> plugins/gFeatures/Config.yml
|
|
|
|
RUN mkdir /data
|
|
RUN mkdir /data/logs
|
|
RUN mkdir /data/plugins
|
|
|
|
CMD exec ./esticonsole
|