Skip to content

Commit

Permalink
add the cert into dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Jun 27, 2024
1 parent af85aa0 commit 0c7bc5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dockerfiles/operator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /ava

FROM debian:stable-slim

WORKDIR /app

RUN useradd -ms /bin/bash ava && \
apt update && apt-get install -y ca-certificates

COPY --from=builder /ava /ava

ENTRYPOINT ["/ava"]

0 comments on commit 0c7bc5c

Please sign in to comment.