]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - tools/docker/Dockerfile
docker: Add Debian image with basic build environment
[people/pmueller/ipfire-2.x.git] / tools / docker / Dockerfile
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
new file mode 100644 (file)
index 0000000..02ec146
--- /dev/null
@@ -0,0 +1,21 @@
+# This image is based on the latest stable version of Debian
+FROM debian:stable
+
+# Install all updates
+RUN apt-get update && apt-get dist-upgrade
+
+# Install all packages needed for the build
+RUN apt-get install -y \
+       build-essential \
+       autoconf \
+       automake \
+       bison \
+       flex \
+       gawk \
+       git \
+       libz-dev
+
+# Enable colors in git
+RUN git config --global color.ui auto
+
+WORKDIR ~