This commit is contained in:
2023-09-22 09:00:28 +02:00
parent da5bb1c54b
commit 64aaabf4e5
3 changed files with 15 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ FROM debian:bullseye AS builder
WORKDIR /app/src/
RUN apt-get -y -q update
RUN apt-get -y -q install make binutils gcc libc-dev
RUN apt-get -y -q install make binutils gcc libc-dev tcpdump
COPY . .
RUN ./configure --prefix=/app
RUN make clean all install clean
@@ -11,6 +11,9 @@ FROM debian:bullseye
WORKDIR /app
COPY --from=builder /app /app
USER daemon:daemon
RUN apt-get -y -q update
RUN apt-get -y -q install tcpdump
#USER daemon:daemon
ENTRYPOINT ["/app/sbin/cworker"]