-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (16 loc) · 697 Bytes
/
Copy pathDockerfile
File metadata and controls
24 lines (16 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM java:8
MAINTAINER Jan Schulte <jan@janschulte.com>
ENV TRIFECTA_VERSION=0.21.3 TRIFECTA_URL=https://github.com/ldaniels528/trifecta/releases/download
RUN useradd -r -m trifecta
USER trifecta
WORKDIR /home/trifecta
RUN wget $TRIFECTA_URL/v$TRIFECTA_VERSION/trifecta_ui-$TRIFECTA_VERSION.zip && \
unzip trifecta_ui-$TRIFECTA_VERSION.zip && \
rm trifecta_ui-$TRIFECTA_VERSION.zip && \
ln -s trifecta_ui-$TRIFECTA_VERSION trifecta_ui && \
mkdir /home/trifecta/.trifecta
COPY entrypoint.sh /home/trifecta/
COPY config.properties /home/trifecta/.trifecta/
VOLUME /home/trifecta/conf
EXPOSE 9000
ENTRYPOINT ["/home/trifecta/entrypoint.sh", "/home/trifecta/.trifecta/config.properties"]