Skip to content

Commit 43dbff5

Browse files
author
GenesisMiuss
authored
Create 11
1 parent 3cc9b40 commit 43dbff5

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

11

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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"]

0 commit comments

Comments
 (0)