| commit | 1e5682b8f719589494b23b9805590ffeb9ff5e3f | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Thu Jul 18 17:01:26 2024 +0400 |
| committer | gio <gio@v1.dodo.cloud> | Thu Jul 18 17:01:26 2024 +0400 |
| tree | 8a5fed4ebe51aff29b391622aa5a9242aae1fe68 | |
| parent | 42a6b8d140c5a5471390138ab61b49a52230fea1 [diff] |
Memberships: Use nonroot base image Change-Id: I8ce754b62f283088a979636cf7ed441c5f5fcfac
diff --git a/charts/memberships/templates/install.yaml b/charts/memberships/templates/install.yaml index 7179d1b..1d0034b 100644 --- a/charts/memberships/templates/install.yaml +++ b/charts/memberships/templates/install.yaml
@@ -54,7 +54,7 @@ containerPort: 8081 protocol: TCP command: - - memberships + - /usr/bin/memberships - --port=8080 - --api-port=8081 - --db-path=/data/memberships.db
diff --git a/core/auth/memberships/Dockerfile b/core/auth/memberships/Dockerfile index f77a43f..37e975d 100644 --- a/core/auth/memberships/Dockerfile +++ b/core/auth/memberships/Dockerfile
@@ -1,6 +1,5 @@ -FROM alpine:latest +FROM gcr.io/distroless/static:nonroot ARG TARGETARCH COPY memberships_${TARGETARCH} /usr/bin/memberships -RUN chmod +x /usr/bin/memberships