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:02:57 UTC

[skywalking-infra-e2e] branch kezhenxu94-patch-1 created (now 5b4a819)

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

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


      at 5b4a819  Allow setting workspace

This branch includes the following new commits:

     new 5b4a819  Allow setting workspace

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking-infra-e2e] 01/01: Allow setting workspace

Posted by ke...@apache.org.
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

commit 5b4a81991a3812edcc72a154568941932fcd8200
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Aug 13 15:02:53 2021 +0800

    Allow setting workspace
---
 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 03f2af5..00030a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,6 +16,8 @@
 # under the License.
 #
 
+ARG WORKSPACE=/github/workspace
+
 FROM golang:1.16 AS swctl
 
 ARG COMMIT_HASH=master
@@ -54,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 /github/workspace/
+WORKDIR $WORKSPACE
 
 ENTRYPOINT ["e2e"]