-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (20 loc) · 842 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM openjdk:8u181-jre-alpine3.8
LABEL version="1.0"
LABEL TDM="2.1.7"
LABEL TDM_BUILD="9468226"
LABEL MAINTAINER="kim@tholstorf.dk"
LABEL DISCRIPTION="Docker image for VMware TAM Data Manager (Alpine3.8+JRE8u181)"
ENV TDM_VERSION=2.1.7
ENV TDM_BUILD=9468226
# prepare everything, then download and extract TDM binary
RUN apk add --no-cache bash unzip &&\
mkdir /usr/share/vha &&\
mkdir /usr/share/vha/scripts &&\
cd /usr/share/vha &&\
wget http://ftpsite.vmware.com/download/rlspsrl/tdm/2.1.7/GA/tdm-2.1.7-GA-build-9468226-Java-PRODUCTION.zip &&\
unzip tdm-2.1.7-GA-build-9468226-Java-PRODUCTION.zip -d /usr/share/vha &&\
rm -f tdm-2.1.7-GA-build-9468226-Java-PRODUCTION.zip
ADD scripts /usr/share/vha/scripts
WORKDIR /usr/share/vha
EXPOSE 80 8080 8443
ENTRYPOINT ["bash", "/usr/share/vha/scripts/vha_docker.sh"]