Skip to content

Commit 6b0be03

Browse files
authored
Merge pull request kosmos-io#124 from wangyizhi1/main
fix: floater permission error
2 parents 96ffc74 + a357611 commit 6b0be03

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cluster/images/buildx.floater.Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ COPY ${TARGETPLATFORM}/certificate /bin/certificate/
1111

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

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

19-
USER clusterlink
19+
USER clusterlink

cluster/images/floater.Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ COPY certificate /bin/certificate/
1010

1111
COPY ${BINARY} /bin/${BINARY}
1212

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

18-
USER clusterlink
18+
USER clusterlink

0 commit comments

Comments
 (0)