OpenRCT2-Pterodactyl/Dockerfile

22 lines
526 B
Docker
Raw Permalink Normal View History

2020-12-18 18:11:36 +00:00
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