Browse Source

docker: use ffpb/build repo on hub

Helge Jung 9 years ago
parent
commit
54c93f2c56
2 changed files with 3 additions and 3 deletions
  1. 3 0
      ReadMe.md
  2. 0 3
      docker-build.sh

+ 3 - 0
ReadMe.md

@@ -15,8 +15,11 @@ Man benötigt Docker, gawk und git:
 ```bash
 sudo apt-get install gawk git
 sudo apt-get install docker.io || wget -qO- https://get.docker.com/ | sh
+docker pull ffpb/build
 ```
 
+Das Docker-Repository `ffpb/build` kann auch selbst erstellt werden: `docker build -t ffpb/build docker` (wenn das Git-Repository, in dem diese ReadMe liegt, ausgecheckt wurde)
+
 ### Entwickler-System
 
 Als Requirements sind die allgemeinen Build-Tools sowie libfaketime nötig. Zum Bauen des gcc in der Toolchain sind noch drei weitere Bibliotheken notwendig:

+ 0 - 3
docker-build.sh

@@ -21,9 +21,6 @@ MYDIR="$(dirname $0)"
 MYDIR="$(readlink -f $MYDIR)"
 pushd "$MYDIR" > /dev/null
 
-# build the container (TODO: remove this, it should get pulled from the hub)
-docker build -t ffpb/build docker
-
 # run the container with fixed hostname and mapped /code directory
 docker run -ti -h ffpb-build -v "$MYDIR:/code" \
     --env BUILD_TS="$BUILD_TS" \