generated from tuananh/apko-image-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
websocat.melange.yaml
37 lines (35 loc) · 944 Bytes
/
websocat.melange.yaml
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
35
36
37
package:
name: websocat
version: 1.11.0
epoch: 0
description: Netcat, curl and socat for WebSockets
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: MIT
environment:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- wolfi-base
- ca-certificates-bundle
- build-base
- bash
- rust
- openssl-dev
pipeline:
- uses: fetch
with:
uri: https://github.com/vi/websocat/archive/v${{package.version}}/websocat-${{package.version}}.tar.gz
expected-sha256: 943d6f66045658cca7341dd89fe1c2f5bdac62f4a3c7be40251b810bc811794f
- name: Configure and build
runs: |
cargo build --release --locked
mkdir -p ${{targets.destdir}}/usr
install -D -m 0755 "target/release/websocat" -t "${{targets.destdir}}/usr/bin"