Revert "[docker] Run Docker container as root" (#2639)

This commit is contained in:
Tobie Morgan Hitchcock 2023-09-06 09:12:47 +01:00 committed by GitHub
parent 0a0755c5a8
commit aade3ab2ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,5 @@ ARG TARGETARCH
# Add the binary file 'surreal' from the specified path on the host machine to the root directory in the container
ADD $TARGETARCH/surreal /
USER root
# Set the entry point for the container to be the 'surreal' binary
ENTRYPOINT ["/surreal"]