| BusyBox 1.38.0 (glibc), Debian 13 |
| LABEL maintainer=WarpStream Labs <security@warpstreamlabs.com> |
| LABEL org.opencontainers.image.source=https://github.com/warpstreamlabs/bento |
| WORKDIR / |
| COPY /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ # buildkit |
| COPY /etc/passwd /etc/passwd # buildkit |
| COPY /go/src/github.com/warpstreamlabs/bento/target/bin/bento . # buildkit |
| COPY ./config/docker.yaml /bento.yaml # buildkit |
| USER bento |
| EXPOSE [4195/tcp] |
| ENTRYPOINT ["/bento"] |
| CMD ["-c" "/bento.yaml"] |
| WORKDIR /app |
| COPY config.yaml /app/config.yaml # buildkit |
| COPY resources /app/resources # buildkit |
| COPY streams /app/streams # buildkit |
| COPY certificates /app/certificates # buildkit |
| COPY attachments /app/attachments # buildkit |
| COPY content /app/content # buildkit |
| EXPOSE [3000/tcp 4195/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL wget --no-verbose --tries=1 --spider http://localhost:4195/ping || exit 1] Interval:30s Timeout:5s StartPeriod:10s StartInterval:0s Retries:3} |
| CMD ["-c" "config.yaml" "-r" "resources/**/*.yaml" "streams" "streams/*.yaml"] |