Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
Remove install steps from drone.yml

Fixes ComputerScienceHouse#76
  • Loading branch information
liam-middlebrook committed Dec 3, 2017
1 parent 85dbdba commit 5be328e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
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

0 comments on commit 5be328e

Please sign in to comment.