-
Notifications
You must be signed in to change notification settings - Fork 408
/
Dockerfile
21 lines (17 loc) · 677 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ARG version=latest
FROM openjdk:$version
# version <= 11
RUN apt-get update \
&& apt-get install -y make maven || true
COPY prism/prism/nginx/cert.crt /usr/local/share/ca-certificates/cert.crt
RUN update-ca-certificates || true
# version > 11
RUN yum update -y \
&& yum install -y make wget || true
RUN wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo \
&& yum install -y maven || true
RUN keytool -import -trustcacerts -cacerts -storepass changeit -noprompt \
-alias api.sendgrid.com -file /usr/local/share/ca-certificates/cert.crt || true
WORKDIR /app
COPY . .
RUN make install