Skip to content

Commit

Permalink
fix rootless image
Browse files Browse the repository at this point in the history
  • Loading branch information
xrstf committed Apr 12, 2024
1 parent fb1519f commit 7f67afb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM gcr.io/distroless/static-debian12
LABEL maintainer="support@kubermatic.com"
FROM gcr.io/distroless/static-debian12:nonroot
LABEL org.opencontainers.image.source="https://github.com/kubermatic/telemetry-client/blob/main/Dockerfile"
LABEL org.opencontainers.image.vendor="Kubermatic"
LABEL org.opencontainers.image.authors="support@kubermatic.com"

COPY ./_build /usr/local/bin/
USER nobody

0 comments on commit 7f67afb

Please sign in to comment.