-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dependencies for iproute2 and ethtool Signed-off-by: Taras Chornyi <taras.chornyi@plvision.eu>
- Loading branch information
1 parent
6357bb5
commit 589b4c7
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |