16 lines
No EOL
598 B
Docker
16 lines
No EOL
598 B
Docker
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt update -y \
|
|
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
|
|
&& useradd -d /home/container -m container
|
|
|
|
RUN add-apt-repository -y ppa:minetestdevs/stable
|
|
RUN apt update && apt -y install minetest
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
WORKDIR /home/container
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
CMD [ "/bin/bash", "/entrypoint.sh" ] |