diff --git a/docker/images/builder9/1.4/Dockerfile b/docker/images/builder9/1.4/Dockerfile new file mode 100644 index 00000000..fd2a3c30 --- /dev/null +++ b/docker/images/builder9/1.4/Dockerfile @@ -0,0 +1,19 @@ +############################################################ +# +# Add additional dev tools. +# +############################################################ +FROM opennetworklinux/builder9:1.3 +MAINTAINER Jeffrey Townsend + +RUN apt-get update && apt-get upgrade -y + +RUN apt-get install -y \ + bison byacc ctags flex glib-networking glib-networking-common glib-networking-services libglib2.0-0 libpackagekit-glib2-dev libexpat1 libexpat1-dev libexpat-gst libexpat-ocaml libexpat-ocaml-dev \ + libdb-dev devscripts debhelper iptables-dev devscripts flex libglib2.0-dev bison expat libexpat1-dev dpatch libpcre3 libpcre3-dev python-dev swig libelf-dev + +# +# Docker shell and other container tools. +# +COPY docker_shell /bin/docker_shell +COPY container-id /bin/container-id diff --git a/docker/images/builder9/1.4/Makefile b/docker/images/builder9/1.4/Makefile new file mode 100644 index 00000000..24930eba --- /dev/null +++ b/docker/images/builder9/1.4/Makefile @@ -0,0 +1,19 @@ +VERSION=1.4 +USER=opennetworklinux +REPO=builder9 + +TOOLS=../../../tools/docker_shell ../../../tools/container-id + +build: check_version + cp $(TOOLS) . + docker build -t $(USER)/$(REPO):$(VERSION) . + rm -rf $(notdir $(TOOLS)) + +# +# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites +# when a new image is built but the VERSION variable is not updated. +# +check_version: + +push: + docker push $(USER)/$(REPO):$(VERSION)