builder8:1.9

- Update to 8.11
- Add apt-transport-https.
This commit is contained in:
Jeffrey Townsend
2018-07-19 13:30:02 -07:00
parent 756d26b75f
commit 994adf6ebb
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
############################################################
#
# Minor updates.
# - libelf-dev for kernel 4.14
# - cryptsetup-bin
#
############################################################
FROM opennetworklinux/builder8:1.8
MAINTAINER Jeffrey Townsend <jeffrey.townsend@bigswitch.com>
# LTS architecture fixes
RUN sudo sed -i s/'http:\/\/security'/'[arch=amd64,armel] http:\/\/security'/g /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
apt-get install -y apt-transport-https
#
# 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.9
USER=opennetworklinux
REPO=builder8
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)