Commit e3a36bc1 authored by nimrod's avatar nimrod
Browse files

- Added Docker and Docker Compose support because I'm tired of installing everything.

parent 7d999b17
Loading
Loading
Loading
Loading

Dockerfile

0 → 100644
+34 −0
Original line number Diff line number Diff line
FROM debian:testing
ENV LEIN_VERSION=2.5.3
ENV LEIN_ROOT=value
WORKDIR /tmp
RUN apt-get update && \
    apt-get install -y python \
                       python3 \
                       pypy \
                       lua5.1 \
                       luajit \
                       build-essential \
                       php5-cli \
                       php7.0-cli \
                       ruby \
                       nodejs \
                       nodejs-legacy \
                       mawk \
                       clojure1.6 \
                       tcl \
                       time \
                       wget && \
    mkdir /tmp/leiningen && \
    wget --quiet https://github.com/technomancy/leiningen/archive/$LEIN_VERSION.tar.gz -O - | \
    tar -xz -C /tmp/leiningen/ --strip-components=1 && \
    mv /tmp/leiningen/bin/lein-pkg /usr/local/bin/lein && \
    chmod 0755 /usr/local/bin/lein && \
    wget --quiet \
        https://github.com/technomancy/leiningen/releases/download/$LEIN_VERSION/leiningen-$LEIN_VERSION-standalone.zip \
        -O /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \
    rm -rf rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY ./ /benchmark
WORKDIR /benchmark
RUN make
CMD ["make", "test"]
+8 −3
Original line number Diff line number Diff line
@@ -20,18 +20,23 @@ Added languages

Usage
-----
Build: ::
Build:
.. code:: shell

    make

Clean: ::
Clean:
.. code:: shell

    make clean

Test: ::
Test:
.. code:: shell

    make test

Also, Docker and Docker Compose are supported (so just run :code:
`docker-compose up`).

History
-------

docker-compose.yml

0 → 100644
+2 −0
Original line number Diff line number Diff line
testbed:
    build: ./