fix: install CA certs
ci/woodpecker/push/woodpecker Pipeline was successful Details

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
1 changed files with 1 additions and 0 deletions

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/