forked from mtusi2026/mtusi2026lab7
ops: configure PKI and scoped OpenBao identities
This commit is contained in:
@@ -10,7 +10,11 @@ RUN LDFLAGS="$(MC_RELEASE=RELEASE go run buildscripts/gen-ldflags.go)" && \
|
||||
|
||||
FROM alpine:3.22.2
|
||||
|
||||
RUN apk add --no-cache curl openssl postgresql17-client redis && \
|
||||
addgroup -g 10001 messenger && \
|
||||
adduser -D -H -u 10001 -G messenger messenger
|
||||
COPY --from=build /out/mc /usr/local/bin/mc
|
||||
COPY infra/minio/bootstrap.sh /usr/local/bin/bootstrap.sh
|
||||
|
||||
USER 10001:10001
|
||||
ENTRYPOINT ["mc"]
|
||||
|
||||
Reference in New Issue
Block a user