1
0
2022-04-06 11:37:51 +02:00

22 lines
483 B
Docker

FROM python
#Required for tzdata
ENV TZ=Europe/Amsterdam
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install dependencies
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y git unzip curl build-essential cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
COPY compile.sh /
VOLUME /dependencies
VOLUME /output
WORKDIR /output
RUN ["chmod", "+x", "/compile.sh"]
ENTRYPOINT ["/compile.sh"]