Skip to content

Instantly share code, notes, and snippets.

@kapcom01
Created June 24, 2024 11:00
Show Gist options
  • Save kapcom01/510c7bd45d0c56f98575cffdbf34c8be to your computer and use it in GitHub Desktop.
Save kapcom01/510c7bd45d0c56f98575cffdbf34c8be to your computer and use it in GitHub Desktop.
PCD's pcdparser. Run Process Control Daemon's pcdparser within a container.
FROM debian:bookworm as pcdparser-builder
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y build-essential
RUN apt-get install -y bison flex libncurses-dev
RUN git clone https://github.com/meetrp/pcd.git /pcd
WORKDIR /pcd
RUN sed -i '/\/pcd\/src\/pcdapi\/src/d' Makefile
RUN sed -i '/\/pcd\/src\s/d' Makefile
RUN sed -i '/\/pcd\/src$/d' Makefile
RUN sed -i '/\/ipc\/src/d' Makefile
RUN mkdir bin
RUN make defconfig
RUN make
RUN make install
ENTRYPOINT ["pcdparser"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment