Skip to content

Commit 8d2c3ea

Browse files
committed
Add support for burp v3
1 parent f0c53be commit 8d2c3ea

7 files changed

Lines changed: 80 additions & 8 deletions

File tree

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Docker Image CI v3
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ v3 ]
7+
8+
jobs:
9+
10+
build:
11+
12+
runs-on: ubuntu-v3
13+
14+
steps:
15+
16+
- name: Check Out Repo
17+
uses: actions/checkout@v4
18+
19+
- name: Set up QEMU
20+
uses: docker/setup-qemu-action@v3
21+
22+
- name: Set up Docker Buildx
23+
id: buildx
24+
uses: docker/setup-buildx-action@v3
25+
26+
- name: Login to Docker Hub
27+
uses: docker/login-action@v3
28+
with:
29+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
30+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
31+
32+
- name: Build burp server
33+
id: docker_build_burp_server_v3
34+
uses: docker/build-push-action@v5
35+
with:
36+
context: ./burp-server
37+
file: ./burp-server/Dockerfile
38+
platforms: linux/amd64,linux/arm64
39+
builder: ${{ steps.buildx.outputs.name }}
40+
push: true
41+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/burp-server:v3
42+
43+
- name: Image digest
44+
run: echo ${{ steps.docker_build_burp_server_v3.outputs.digest }}
45+
46+
- name: Build burp ui
47+
id: docker_build_burp_ui_v3
48+
uses: docker/build-push-action@v5
49+
with:
50+
context: ./burp-ui
51+
file: ./burp-ui/Dockerfile
52+
platforms: linux/amd64,linux/arm64
53+
builder: ${{ steps.buildx.outputs.name }}
54+
push: true
55+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/burp-ui:v3
56+
57+
- name: Image digest
58+
run: echo ${{ steps.docker_build_burp_ui_v3.outputs.digest }}
59+
60+
- name: Build burp client
61+
id: docker_build_burp_client_v3
62+
uses: docker/build-push-action@v5
63+
with:
64+
context: ./burp-client
65+
file: ./burp-client/Dockerfile
66+
platforms: linux/amd64,linux/arm64
67+
builder: ${{ steps.buildx.outputs.name }}
68+
push: true
69+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/burp-client:v3
70+
71+
- name: Image digest
72+
run: echo ${{ steps.docker_build_burp_client_v3.outputs.digest }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Burp Backup in Docker
22

3-
This repository contains Docker images for the [Burp 2.x](http://burp.grke.org/) server, client, and [web UI](https://git.ziirish.me/ziirish/burp-ui). All images are available at Docker Hub:
3+
This repository contains Docker images for the [Burp](http://burp.grke.org/) server, client, and [web UI](https://git.ziirish.me/ziirish/burp-ui). All images are available at Docker Hub:
44

55
https://hub.docker.com/r/pschiffe/burp-server/
66

burp-client/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
66
&& dnf install dnf-plugins-core epel-release \
77
&& dnf config-manager --set-disabled epel-cisco-openh264 \
88
&& dnf config-manager --set-enabled crb \
9-
&& dnf copr enable yopito/burp2 \
9+
&& dnf copr enable hnsz2002/burp-stable \
1010
&& dnf --refresh upgrade \
1111
&& dnf install \
12-
burp2-client \
12+
burp-client \
1313
gettext \
1414
hostname \
1515
&& dnf clean all \

burp-client/burp.conf.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ password = ${BURP_CLIENT_PASSWORD}
77
cname = ${HOSTNAME}
88
# A different port to use for restores - see the man page for more options.
99
#port_restore = 5971
10-
pidfile = /var/run/burp.client.pid
10+
pidfile = /run/burp.client.pid
1111
syslog = 0
1212
stdout = 1
1313
progress_counter = 1

burp-server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ RUN echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
66
&& dnf install dnf-plugins-core epel-release \
77
&& dnf config-manager --set-disabled epel-cisco-openh264 \
88
&& dnf config-manager --set-enabled crb \
9-
&& dnf copr enable yopito/burp2 \
9+
&& dnf copr enable hnsz2002/burp-stable \
1010
&& dnf --refresh upgrade \
1111
&& dnf install \
12-
burp2-server \
12+
burp-server \
1313
fuse-encfs \
1414
gettext \
1515
hostname \

burp-server/burp-server.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ max_status_children = 5
2020
directory = ${BURP_DATA_DIRECTORY}
2121
dedup_group = global
2222
clientconfdir = /etc/burp/clientconfdir
23-
pidfile = /var/run/burp.server.pid
23+
pidfile = /run/burp.server.pid
2424
hardlinked_archive = 0
2525
working_dir_recovery_method = delete
2626
umask = 0022

burp-server/burp.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ password = ${CLIENT_PASSWORD}
77
cname = localclient
88
# A different port to use for restores - see the man page for more options.
99
#port_restore = 5971
10-
pidfile = /var/run/burp.client.pid
10+
pidfile = /run/burp.client.pid
1111
syslog = 0
1212
stdout = 1
1313
progress_counter = 1

0 commit comments

Comments
 (0)