Skip to content

Commit 80399ed

Browse files
committed
fix comments
1 parent 183ad13 commit 80399ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN curl -L https://github.com/etcd-io/etcd/releases/download/${ETCD_VER}/etcd-$
3333
&& mkdir -p /tmp/etcd-download-test \
3434
&& tar xzvf /tmp/etcd-${ETCD_VER}-linux-${BUILDARCH}.tar.gz -C /tmp/etcd-download-test --strip-components=1 \
3535
&& mv /tmp/etcd-download-test/etcdctl /usr/bin \
36-
&& rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz && rm -rf /tmp/etcd-download-test \
3736
&& rm -rf /tmp/*
3837

3938
ENTRYPOINT [ "tini", "--" ]

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"service": "apisix",
55
"workspaceFolder": "/workspace",
66
"privileged": true,
7-
"postCreateCommand": "bash -c 'cd /workspace && rm -rf test-nginx && git config --global --add safe.directory /workspace && git submodule update --init --recursive && git clone https://github.com/openresty/test-nginx.git --depth 1 && make deps'",
7+
"postCreateCommand": "bash -c 'cd /workspace && rm -rf test-nginx && git config --global --add safe.directory /workspace && git submodule update --init --recursive && git clone https://github.com/openresty/test-nginx.git --depth 1 --single-branch -b master && make deps'",
88
"customizations": {
99
"vscode": {
1010
"extensions": ["ms-vscode.makefile-tools", "ms-azuretools.vscode-docker", "sumneko.lua"]

0 commit comments

Comments
 (0)