Commit c5ef4158 authored by Svetomir Smiljkovic's avatar Svetomir Smiljkovic

Run Docker as non-root

parent 9de3e5ad
......@@ -8,7 +8,11 @@ RUN make binary
FROM alpine:3.11
RUN apk update && \
apk add --no-cache ca-certificates
apk add --no-cache ca-certificates && \
addgroup -S drone && \
adduser -S drone -G drone
USER drone
COPY --from=build /src/dist/bee /usr/local/bin/bee
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment