mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Make core container to non-root user
Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
0fd375c7a8
commit
96b62e5741
@ -12,5 +12,5 @@ COPY ./make/migrations /harbor/migrations
|
||||
|
||||
RUN chmod u+x /harbor/start.sh /harbor/harbor_core
|
||||
WORKDIR /harbor/
|
||||
|
||||
ENTRYPOINT ["/harbor/start.sh"]
|
||||
|
||||
ENTRYPOINT ["/harbor/harbor_core"]
|
||||
|
BIN
make/photon/core/harbor_core
Executable file
BIN
make/photon/core/harbor_core
Executable file
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
sudo -E -u \#10000 "/harbor/harbor_core"
|
||||
#! sh
|
||||
./harbor/harbor_core
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user