1.4 update

This commit is contained in:
Jeffrey Townsend
2019-05-01 10:47:48 -07:00
parent f79e852158
commit d3e497acdd
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
############################################################
#
# Add additional dev tools.
#
############################################################
FROM opennetworklinux/builder9:1.3
MAINTAINER Jeffrey Townsend <jeffrey.townsend@bigswitch.com>
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

View File

@@ -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)