You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/08/13 07:06:30 UTC

[skywalking-infra-e2e] branch kezhenxu94-patch-1 updated: Update Dockerfile

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch kezhenxu94-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git


The following commit(s) were added to refs/heads/kezhenxu94-patch-1 by this push:
     new 9da9df3  Update Dockerfile
9da9df3 is described below

commit 9da9df3411fb52c2c171ec5e96ea720b14d20693
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Aug 13 15:06:27 2021 +0800

    Update Dockerfile
---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 00030a6..0981d31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@
 # under the License.
 #
 
-ARG WORKSPACE=/github/workspace
+ENV WORKSPACE=/github/workspace
 
 FROM golang:1.16 AS swctl
 
@@ -56,6 +56,6 @@ COPY --from=stedolan/jq /usr/local/bin/jq /usr/local/bin/jq
 COPY --from=mikefarah/yq:4 /usr/bin/yq /usr/local/bin/yq
 COPY --from=docker /usr/local/bin/docker /usr/local/bin/docker
 
-WORKDIR $WORKSPACE
+WORKDIR /github/workspace
 
-ENTRYPOINT ["e2e"]
+ENTRYPOINT ["bash", "-c", "cd $WORKSPACE && e2e"]