File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:11.0.13_8-jdk-focal
2+
3+ LABEL author="GenesisMiuss" maintainer="
[email protected] "
4+
5+ LABEL org.opencontainers.image.source="https://github.com/ocent-network/java-docker"
6+ LABEL org.opencontainers.image.licenses=MIT
7+
8+ RUN apt update -y \
9+ && apt install -y \
10+ curl \
11+ lsof \
12+ ca-certificates \
13+ openssl \
14+ git \
15+ tar \
16+ sqlite3 \
17+ fontconfig \
18+ tzdata \
19+ iproute2 \
20+ libfreetype6 \
21+ tini \
22+ zip \
23+ unzip
24+
25+
26+ ## Setup user and working directory
27+ RUN useradd -m -d /home/container -s /bin/bash container
28+ USER container
29+ ENV USER=container HOME=/home/container
30+ WORKDIR /home/container
31+
32+ STOPSIGNAL SIGINT
33+
34+ COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
35+ RUN chmod +x /entrypoint.sh
36+ ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
37+ CMD ["/entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments