Skip to content

Instantly share code, notes, and snippets.

@armstrongnate
Created August 31, 2015 00:40
Show Gist options
  • Save armstrongnate/7d76744b1d765f36166a to your computer and use it in GitHub Desktop.
Save armstrongnate/7d76744b1d765f36166a to your computer and use it in GitHub Desktop.
Docker setup for ai
DISPLAY=192.168.0.2:0 # replace `192.168.0.2` with the host machine's local ip
main:
build: .
volumes:
- .:/usr/src/app:rw
env_file:
- .docker.env
working_dir: /usr/src/app/ai/bin/00bin-o
FROM ubuntu:14.04
MAINTAINER Nate Armstrong <natearmstrong2@gmail.com>
RUN apt-get update && apt-get install make
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN make
WORKDIR /usr/src/app/ai-agents/build/linux
RUN make configure
RUN make
RUN make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment