forked from AthenZ/athenz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (14 loc) · 799 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:latest
RUN mkdir -p /opt/athenz
COPY ./aws/start.sh /opt/athenz
COPY ./aws/stop.sh /opt/athenz
RUN apt-get update && apt-get -y install openjdk-8-jdk curl sudo && curl -sL https://deb.nodesource.com/setup_6.x | bash - && apt-get install -y nodejs && npm install -y -g nodemon
COPY ./assembly/zms/target/athenz-zms-*-bin.tar.gz /opt/athenz
COPY ./assembly/zts/target/athenz-zts-*-bin.tar.gz /opt/athenz
COPY ./assembly/ui/target/athenz-ui-*-bin.tar.gz /opt/athenz
COPY ./assembly/utils/target/athenz-utils-*-bin.tar.gz /opt/athenz
RUN cd /opt/athenz/ && tar xfz athenz-zms*.tar.gz && tar xfz athenz-zts*.tar.gz && tar xfz athenz-ui*.tar.gz && tar xfz athenz-utils*.tar.gz
EXPOSE 9443
EXPOSE 4443
EXPOSE 8443
CMD /opt/athenz/start.sh && tail -f /opt/athenz/athenz-ui-*/logs/ui/ui.out