Skip to content

Commit

Permalink
install bison
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Oct 7, 2017
1 parent f7e47b4 commit ed76605
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ubuntu:17.04
RUN apt-get update && apt-get upgrade -y
RUN apt-get -qq install -y apt-utils > /dev/null
RUN apt-get -qq install -y afnix algol68g aplus-fsf asymptote ats2-lang bash bc bf bsdgames clisp clojure cmake coffeescript dafny dc ecere-dev elixir emacs24 erlang f2c fp-compiler fsharp g++ gambas3-script gap gawk gcc gdc genius gforth gfortran ghc ghostscript gnat gnu-smalltalk gnuplot gobjc golang gpt groff groovy guile-2.0 haxe icont iconx intercal iverilog jasmin-sable jq julia libgd-dev libpng-dev lisaac llvm lua5.3 make maxima minizinc mlton mono-devel mono-mcs mono-vbnc nasm neko nickle nim nodejs ocaml octave open-cobol openjdk-8-jdk pari-gp perl php-cli pike8.0 python r-base ratfor regina-rexx ruby rustc scala scilab slsh squirrel3 swi-prolog tcl valac xsltproc yorick zoem && apt-get clean
RUN apt-get -qq install -y moreutils
RUN chronic apt-get -qq install -y afnix algol68g aplus-fsf asymptote ats2-lang bash bc bf bison bsdgames clisp clojure coffeescript dafny dc ecere-dev elixir emacs24 erlang f2c fp-compiler fsharp g++ gambas3-script gap gawk gcc gdc genius gforth gfortran ghc ghostscript gnat gnu-smalltalk gnuplot gobjc golang gpt groff groovy guile-2.0 haxe icont iconx intercal iverilog jasmin-sable jq julia libgd-dev libpng-dev lisaac llvm lua5.3 make maxima minizinc mlton mono-devel mono-mcs mono-vbnc nasm neko nickle nim nodejs ocaml octave open-cobol openjdk-8-jdk pari-gp perl php-cli pike8.0 python r-base ratfor regina-rexx ruby rustc scala scilab slsh squirrel3 swi-prolog tcl valac xsltproc yorick zoem && apt-get clean
ENV PATH /usr/games:$PATH
ADD . /usr/local/share/quine-relay
WORKDIR /usr/local/share/quine-relay
Expand Down
5 changes: 3 additions & 2 deletions src/Dockerfile.gen.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
require_relative "code-gen"

apts = RunSteps.flat_map {|s| s.apt }
other_packages = %w(cmake libpng-dev libgd-dev groff)
other_packages = %w(libpng-dev libgd-dev groff bison)

apts = [*apts.flatten.compact.uniq, *other_packages].sort

dockerfile = []
dockerfile << "FROM ubuntu:17.04"
dockerfile << "RUN apt-get update && apt-get upgrade -y"
dockerfile << "RUN apt-get -qq install -y apt-utils > /dev/null"
dockerfile << "RUN apt-get -qq install -y #{ apts.join(" ") } && apt-get clean"
dockerfile << "RUN apt-get -qq install -y moreutils"
dockerfile << "RUN chronic apt-get -qq install -y #{ apts.join(" ") } && apt-get clean"
dockerfile << "ENV PATH /usr/games:$PATH"
dockerfile << "ADD . /usr/local/share/quine-relay"
dockerfile << "WORKDIR /usr/local/share/quine-relay"
Expand Down

0 comments on commit ed76605

Please sign in to comment.