-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
34 lines (31 loc) · 807 Bytes
/
snapcraft.yaml
File metadata and controls
34 lines (31 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: dumbproxy
summary: Simple, scriptable, secure forward proxy.
description: >
Simple, scriptable, secure forward proxy. See documentation for details:
https://github.com/SenseUnit/dumbproxy/blob/master/README.md
confinement: strict
base: core22
adopt-info: dumbproxy
parts:
dumbproxy:
plugin: go
build-snaps: [go/latest/stable]
build-packages:
- make
- git-core
source: https://github.com/SenseUnit/dumbproxy
source-type: git
override-pull: |
craftctl default
craftctl set version="$(git describe --tags --always --match=v*.*.* | sed 's/v//')"
override-build:
make &&
cp bin/dumbproxy "$SNAPCRAFT_PART_INSTALL"
stage:
- dumbproxy
apps:
dumbproxy:
command: dumbproxy
plugs:
- network
- network-bind