Git Product home page Git Product logo

opensiv3d-dockerfiles's Introduction

OpenSiv3D on Docker

Dockerfiles for OpenSiv3D on Linux

日本語版 README はこちら

Prerequisites

  • Docker
  • Sound system such as PulseAudio and ALSA (probably installed at default)
  • X11 (Wayland and Mir is not supported)
  • Graphics system which supports OpenGL >=4.1 (You can verify it by glxinfo | grep version)

I tested on Ubuntu 17.04 with PulseAudio, ALSA and X11.

Quickstart

git clone https://github.com/nekketsuuu/opensiv3d-dockerfiles.git
cd opensiv3d-dockerfiles
./sudo-docker-run.sh 0.1.7.1900-Debug
# on a container...
cd /var/work/test
./make_debug.sh test
./test

Usage

Run app on container

If you want to run a Siv3D application on a container, check docker-run.sh. In order to use audio/graphics devices in the container, some options are needed for docker run.

# If you need sudo...
./sudo-docker-run.sh 0.1.7.1900-Debug
# If you don't need sudo...
./docker-run.sh 0.1.7.1900-Debug

Also, check test/make_debug.sh or test/make_release.sh to know how to build an app with the Siv3D library.

# On the container...
cd /var/work/test
./make_debug.sh test
./test

Run app on host

If you want to run outside a container, you will need several libraries.

(For developers) Build Docker image

# You may need sudo
./docker-build.sh

(Don't forget to build the latest tag, too)

You can publish your image via docker push.

# If necessary, do `docker login`.
docker push <image tag>

opensiv3d-dockerfiles's People

Contributors

nekketsuuu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

fuyutsubaki

opensiv3d-dockerfiles's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.