From fd2f92c4ceb9d87e010a3cab1b6a1d049ba6342e Mon Sep 17 00:00:00 2001 From: thmsdy Date: Fri, 18 Dec 2020 12:11:36 -0600 Subject: [PATCH] add Dockerfile --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..668887c --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file