OpenRCT2-Pterodactyl/Dockerfile

22 lines
526 B
Docker

FROM ubuntu:20.04 AS build-env
ENV DEBIAN_FRONTEND=interactive
USER root
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:openrct2/master && apt-get update && apt-get install --no-install-recommends -y openrct2
RUN openrct2-cli --version && openrct2-cli scan-objects
RUN adduser --quiet --home /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT /bin/bash /entrypoint.sh