add Dockerfile
This commit is contained in:
commit
fd2f92c4ce
|
@ -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
|
Loading…
Reference in New Issue