Skip to content

RRethy/cpid1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpid1

An init (PID 1) process purpose-built for containers.

Usage

FROM rust:1.67 as builder
RUN cargo install --git https://github.com/RRethy/cpid1.git

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/myapp /usr/local/bin/myapp
ENTRYPOINT ["/usr/local/bin/cpid1"]
CMD ["yourapp", "yourapp-args", "--and", "--more", "--args"]

About

An init (PID 1) process purpose-built for containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published