File tree 2 files changed +11
-11
lines changed
build/docker/tools/tke-installer
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,20 @@ ENV DOCKER_CLI_EXPERIMENTAL=enabled
25
25
ARG ENV_ARCH
26
26
27
27
RUN apk add --no-cache \
28
- bash \
29
- busybox-extras \
30
- curl \
31
- tcpdump \
32
- docker \
33
- ansible
28
+ bash \
29
+ busybox-extras \
30
+ curl \
31
+ tcpdump \
32
+ docker \
33
+ ansible
34
34
35
35
RUN apk --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted add lrzsz
36
36
RUN wget -O nerdctl-0.11.0-linux.tar.gz https://github.com/containerd/nerdctl/releases/download/v0.11.0/nerdctl-0.11.0-linux-"$ENV_ARCH" .tar.gz \
37
- && tar -zvxf nerdctl-0.11.0-linux.tar.gz -C /usr/local/bin/ \
38
- && rm -rf nerdctl-0.11.0-linux.tar.gz
37
+ && tar -zvxf nerdctl-0.11.0-linux.tar.gz -C /usr/local/bin/ \
38
+ && rm -rf nerdctl-0.11.0-linux.tar.gz
39
39
40
40
ADD . /app
41
41
42
42
RUN ln -s /app/.docker /root/.docker
43
43
44
- ENTRYPOINT ["/bin/sh" , "-c" , "/ app/run.sh" ]
44
+ ENTRYPOINT ["/app/run.sh" ]
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# Tencent is pleased to support the open source community by making TKEStack
4
4
# available.
@@ -25,7 +25,7 @@ if [ $status -ne 0 ]; then
25
25
fi
26
26
27
27
# Start the second process
28
- ./bin/tke-installer
28
+ ./bin/tke-installer $@
29
29
status=$?
30
30
if [ $status -ne 0 ]; then
31
31
echo " Failed to start my_second_process: $status "
You can’t perform that action at this time.
0 commit comments