Skip to content

Commit

Permalink
Add nextmn/srv6 iproute2 files; close #7
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Sep 24, 2024
1 parent 6206319 commit f4a2abb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Docker Image CI

on:
push:
paths-ignore:
- 'README.md'
- '.github/**'
paths:
- 'network-debug/**'
branches: [ master ]
workflow_dispatch:
repository_dispatch:
Expand Down Expand Up @@ -50,6 +49,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:network-debug"
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: BUILD_DATE=${{ steps.date.outputs.date }}
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.PHONY: all
all:
docker buildx build -t louisroyer/network-debug ./network-debug
5 changes: 4 additions & 1 deletion Dockerfile → network-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ RUN apt-get update -q && DEBIAN_FRONTEND=non-interactive apt-get install -qy --n
wget \
wireshark-ueransim-rls \
&& apt-get upgrade -qy \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /etc/iproute2/{rt_tables.d,rt_protos.d}/ \
&& curl -o /etc/iproute2/rt_tables.d/nextmn.conf https://raw.githubusercontent.com/nextmn/srv6/refs/heads/master/etc/iproute2/rt_tables.d/nextmn.conf \
&& curl -o /etc/iproute2/rt_protos.d/nextmn.conf https://raw.githubusercontent.com/nextmn/srv6/refs/heads/master/etc/iproute2/rt_protos.d/nextmn.conf

ENTRYPOINT ["docker-setup"]

0 comments on commit f4a2abb

Please sign in to comment.