Skip to content

Commit

Permalink
fix: floater permission error
Browse files Browse the repository at this point in the history
Signed-off-by: wangyizhi1 <[email protected]>
  • Loading branch information
wangyizhi1 committed Oct 16, 2023
1 parent 96ffc74 commit cc6ec97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cluster/images/buildx.floater.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ COPY ${TARGETPLATFORM}/certificate /bin/certificate/

COPY ${TARGETPLATFORM}/${BINARY} /bin/${BINARY}


RUN adduser -D -g clusterlink -u 1002 clusterlink && \
chown -R clusterlink:clusterlink /bin/certificate && \
chown -R clusterlink:clusterlink /bin/${BINARY}
chown -R clusterlink:clusterlink /bin/${BINARY} && \
chmod u+s /bin/ping

USER clusterlink
USER clusterlink
6 changes: 3 additions & 3 deletions cluster/images/floater.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ COPY certificate /bin/certificate/

COPY ${BINARY} /bin/${BINARY}


RUN adduser -D -g clusterlink -u 1002 clusterlink && \
chown -R clusterlink:clusterlink /bin/certificate && \
chown -R clusterlink:clusterlink /bin/${BINARY}
chown -R clusterlink:clusterlink /bin/${BINARY} && \
chmod u+s /bin/ping

USER clusterlink
USER clusterlink

0 comments on commit cc6ec97

Please sign in to comment.