-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (21 loc) · 786 Bytes
/
Dockerfile
File metadata and controls
34 lines (21 loc) · 786 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
25
26
27
28
29
30
31
32
33
FROM eclipse-temurin:8-jre-alpine AS lvg_download
ARG LVG_URL=https://data.lhncbc.nlm.nih.gov/public/lsg/lvg/2025/release/lvg2025.tgz
ARG LVG_SHA1=777aad51bef5edbe434b46208a66d96e626771b1
WORKDIR /work
RUN echo "$LVG_SHA1 lvg.tar.gz" > lvg.tar.gz.sha1 && \
wget -O lvg.tar.gz $LVG_URL && \
cat lvg.tar.gz.sha1 && ls -lah && \
sha1sum lvg.tar.gz && \
sha1sum -c lvg.tar.gz.sha1
RUN mkdir -p /tmp/lvg
RUN tar zxf lvg.tar.gz -C /tmp/lvg --strip-components=1 && \
ls -la /tmp/lvg
# Perform cleanup
# We don't need windows JRE or linux JRE
RUN rm -rf /tmp/lvg/bin/jreDist/*.exe
FROM eclipse-temurin:8-jre-alpine
COPY --from=lvg_download /tmp/lvg /opt/lvg
COPY lvg.sh /opt/lvg/bin
WORKDIR /opt/lvg
RUN ./install_linux.sh
ENTRYPOINT [ "/opt/lvg/bin/lvg.sh" ]