mirror of
https://github.com/godotengine/godot-blender-exporter.git
synced 2026-01-05 18:10:04 +03:00
This allows local users to test and generate reference exports without installing a specific version of Blender locally. Linting currently doesn't work due to a python version mismatch.
29 lines
518 B
Docker
29 lines
518 B
Docker
FROM ubuntu:xenial
|
|
|
|
ENV BLENDER_VERSION 2.81
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install --no-install-recommends -y \
|
|
libsdl1.2debian \
|
|
libglu1 python3-pip \
|
|
bash \
|
|
wget \
|
|
bzip2 \
|
|
make \
|
|
libxi6 \
|
|
libxrender1
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 install --upgrade setuptools
|
|
|
|
COPY requirements.txt .
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
COPY tests/install_blender.sh .
|
|
|
|
RUN bash install_blender.sh ${BLENDER_VERSION}
|
|
|
|
VOLUME /workdir
|
|
WORKDIR /workdir
|
|
|
|
ENTRYPOINT ["tests/entrypoint.sh"]
|