Skip to content

Commit

Permalink
Update debian 10 builder
Browse files Browse the repository at this point in the history
Add dependencies for iproute2 and ethtool

Signed-off-by: Taras Chornyi <taras.chornyi@plvision.eu>
  • Loading branch information
taraschornyiplv committed May 24, 2023
1 parent 6357bb5 commit 589b4c7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker/images/builder10/1.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM opennetworklinux/builder10:1.2

MAINTAINER Taras Chornyi <chornyi.taras@outlook.com>

RUN apt-get update --allow-releaseinfo-change && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get -y install apt-cacher-ng \
libmnl-dev libmnl-dev libelf-dev libcap-dev libxtables-dev libdb-dev

RUN xapt -a arm64 libmnl-dev libelf-dev libcap-dev libxtables-dev libdb-dev

RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/backports.list

RUN apt-get update --allow-releaseinfo-change && DEBIAN_FRONTEND=noninteractive apt-get -y install -t buster-backports git

RUN rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/*

COPY docker_shell /bin/docker_shell
COPY container-id /bin/container-id
12 changes: 12 additions & 0 deletions docker/images/builder10/1.3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
VERSION=1.3
USER=dentproject
REPO=builder10

TOOLS=../../../tools/docker_shell ../../../tools/container-id

build: check_version
cp $(TOOLS) .
docker build -t $(USER)/$(REPO):$(VERSION) .
rm -rf $(notdir $(TOOLS))
push:
docker push $(USER)/$(REPO):$(VERSION)

0 comments on commit 589b4c7

Please sign in to comment.