Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pipeline:
build:
image: ubuntu:15.04
image: computersciencehouse/bingehack4:latest
commands:
# set lang for unicode support
- export LC_ALL=C.UTF-8
# bingehack prep
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
- apt-get update -qq
- apt-get install -qq binutils ${CC} ${CXX} flex bison libbison-dev libjansson-dev postgresql-client libpq-dev libsdl2-dev libpng-dev
# bingehack build
- ./travis-build

# We still need this matrix to match what versions are listed in the Dockerfile.
# That way we can still test against different compiler versions

matrix:
include:
- CC: gcc-4.6
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ubuntu:15.04
MAINTAINER Liam Middlebrook <[email protected]>

# Install all of the dependencies needed to build Bingehack4

ENV compilers gcc-4.6 g++-4.6 gcc-4.7 g++-4.7 gcc-4.8 g++-4.8 clang-3.4 clang-3.4 clang-3.5 clang-3.5

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
RUN apt-get update -qq
RUN apt-get install -qq binutils $compilers flex bison libbison-dev libjansson-dev postgresql-client libpq-dev libsdl2-dev libpng-dev