forked from godotengine/godot-blender-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request godotengine#388 from rcorre/docker
Add a Dockerfile for local reference updates.
- Loading branch information
Showing
4 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
. ../.envs # generated by install_blender.sh | ||
make BLENDER=${BLENDER_BIN} PYLINT='python3 -m pylint' $@ |