mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
17 lines
536 B
Docker
17 lines
536 B
Docker
FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk16-openj9:debianslim
|
|
|
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
|
|
|
RUN apt update -y \
|
|
&& apt install -y curl ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
|
&& useradd -d /home/container -m container
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
|
|
WORKDIR /home/container
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
|
CMD ["/bin/bash", "/entrypoint.sh"]
|