fix: install CA certs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2022-08-18 14:06:37 +05:30
parent 02df34d0e1
commit a8b9892de4
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -21,6 +21,7 @@ RUN cargo build --release
FROM debian:bullseye as rwhook
LABEL org.opencontainers.image.source https://git.batsense.net/realaravinth/rwhook
RUN apt-get update && apt-get install -y ca-certificates
RUN useradd -ms /bin/bash -u 1001 rwhook
WORKDIR /home/rwhook
COPY --from=rust /src/target/release/rwhook /usr/local/bin/