Skip to content

Commit

Permalink
Merge pull request kosmos-io#124 from wangyizhi1/main
Browse files Browse the repository at this point in the history
fix: floater permission error
  • Loading branch information
kosmos-robot authored Oct 16, 2023
2 parents 96ffc74 + a357611 commit 6b0be03
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 6b0be03

Please sign in to comment.