add Dockerfile

This commit is contained in:
Ghoti 2020-12-18 12:11:36 -06:00
commit fd2f92c4ce
1 changed files with 22 additions and 0 deletions

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
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