Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Support building on Alpine #1

@AkihiroSuda

Description

@AkihiroSuda
FROM alpine:3.7
RUN apk add --no-cache alpine-sdk linux-headers bsd-compat-headers libexecinfo-dev talloc-dev protobuf-c-dev 
RUN git clone https://github.com/rootless-containers/PRoot.git \
  && cd PRoot \
  && git checkout 081bb63955eb4378e53cf4d0eb0ed0d3222bf66e \
  && cd src \
  && make && mv proot / && make clean

Failing:

make: [GNUmakefile:135: .check_process_vm] Error 1 (ignored)
make: [GNUmakefile:135: .check_seccomp_filter] Error 1 (ignored)
  GEN   build.h
  CC    cli/cli.o
In file included from ./cli/cli.h:7:0,
                 from ./cli/cli.c:36:
./tracee/tracee.h:150:24: error: field 'restart_how' has incomplete type
  enum __ptrace_request restart_how;
                        ^~~~~~~~~~~
make: *** [GNUmakefile:179: cli/cli.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions