minetest: go back to ubuntu
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH alpine:edge
|
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.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 apk add --update --no-cache ca-certificates curl ffmpeg git openssl sqlite tar tzdata minetest \
|
RUN add-apt-repository -y ppa:minetestdevs/stable
|
||||||
&& adduser -D -h /home/container container
|
RUN apt update && apt -y install minetest
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/ash
|
#!/bin/bash
|
||||||
|
|
||||||
# Default the TZ environment variable to UTC.
|
# Default the TZ environment variable to UTC.
|
||||||
TZ=${TZ:-UTC}
|
TZ=${TZ:-UTC}
|
||||||
|
Reference in New Issue
Block a user