Skip to content

Commit

Permalink
Merge pull request meta-toolkit#77 from zero323/develop
Browse files Browse the repository at this point in the history
Add dockerfile to contrib
  • Loading branch information
smassung committed Mar 25, 2015
2 parents eee7dfe + 6e6e3b8 commit 21d424f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM debian:jessie

MAINTAINER Maciej Szymkiewicz "[email protected]"

ENV METADIR /opt/meta
RUN mkdir -p $METADIR

RUN apt-get update && apt-get -y install cmake libicu-dev git g++ && apt-get clean

WORKDIR $METADIR
RUN git clone --depth 1 https://github.com/meta-toolkit/meta.git .
RUN git submodule update --init --recursive
RUN mkdir $METADIR/build

WORKDIR $METADIR/build
RUN cp $METADIR/config.toml .
RUN cmake $METADIR -DCMAKE_BUILD_TYPE=Release && make
RUN ctest --output-on-failure

RUN apt-get -y purge git && apt-get -y autoremove

0 comments on commit 21d424f

Please sign in to comment.