diff --git a/content/guides/rust/build-images.md b/content/guides/rust/build-images.md index d35113062a..6b4fe3e7cb 100644 --- a/content/guides/rust/build-images.md +++ b/content/guides/rust/build-images.md @@ -121,18 +121,6 @@ RUN --mount=type=bind,source=src,target=src \ FROM dhi.io/static:20250419 AS final -# Create a non-privileged user that the app will run under. -ARG UID=10001 -RUN adduser \ - --disabled-password \ - --gecos "" \ - --home "/nonexistent" \ - --shell "/sbin/nologin" \ - --no-create-home \ - --uid "${UID}" \ - appuser -USER appuser - # Copy the executable from the "build" stage. COPY --from=build /bin/server /bin/