Skip to content

README.md: typo

README.md: typo #20

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'release/**'
pull_request:
jobs:
main:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Install
run: |
set -eux
make
sudo make install
- name: Smoke test
timeout-minutes: 5
run: |
set -eux
cd examples/victim
go build
gomodjail run --go-mod=go.mod -- ./victim
- name: "Smoke test: docker (not dockerd)"
timeout-minutes: 5
run: |
set -eux
DOCKER="gomodjail run --go-mod=./examples/profiles/docker.mod -- docker"
$DOCKER buildx create --name foo --use
cat <<EOF | $DOCKER buildx build -t foo --load -
FROM alpine
RUN apk add bash
EOF
$DOCKER run --rm foo /bin/bash -c "echo hi"