Explorar el Código

add Dockerfile

preparation (only necessary if Dockerfile changes):
docker build -t ffpb/build .

usage (example):
docker run --env BRANCH=stable BASE=v2014.4 VERSION=0.6.1 ffpb/build
Helge Jung hace 9 años
padre
commit
b26ddde4d4
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      Dockerfile

+ 13 - 0
Dockerfile

@@ -0,0 +1,13 @@
+FROM ubuntu:14.04
+MAINTAINER hej@c3pb.de
+
+RUN apt-get update && apt-get install -y build-essential git python libfaketime libgmp-dev libmpfr-dev libmpc-dev
+RUN git config --global user.email build@paderborn.freifunk.net
+
+RUN mkdir /code
+WORKDIR /code
+
+RUN git clone https://git.c3pb.de/freifunk-pb/firmware.git .
+
+CMD ["/bin/bash", "build.sh"]
+