mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
17 lines
520 B
Docker
17 lines
520 B
Docker
FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk16-openj9:debianslim
|
|
|
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
|
|
|
RUN apt-get update -y \
|
|
&& apt-get install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 \
|
|
&& 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"]
|