forked from ninjaneers-team/dss-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 730 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (18 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM eclipse-temurin:21-jdk-alpine
LABEL maintainer="[email protected]"
LABEL "author"="vysmaty"
# Instalation & download & unzip
RUN apk update && apk add --no-cache unzip curl && \
curl -o /tmp/dss-demo-bundle.zip https://ec.europa.eu/digital-building-blocks/artifact/repository/esignaturedss/eu/europa/ec/joinup/sd-dss/dss-demo-bundle/6.4/dss-demo-bundle-6.4.zip && \
unzip /tmp/dss-demo-bundle.zip -d /tmp && \
mv /tmp/dss-demo-bundle-6.4 /dss && \
chmod +x /dss/apache-tomcat-11.0.18/bin/catalina.sh && \
rm -rf /tmp/*
# Copy startup script
COPY ./startup.sh /dss/
RUN chmod +x /dss/startup.sh
# Expose Tomcat port
EXPOSE 8080
# Start
ENTRYPOINT [ "/dss/startup.sh" ]
CMD [ "/bin/sh" ]