Skip to content

Commit 08cf99e

Browse files
yupwei68root
andauthored
Docker fix (#158)
* update * update * update * update * update * update Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
1 parent c6987b3 commit 08cf99e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ ENV ARM_TEST_LOCATION=${BUILD_ARM_TEST_LOCATION}
2121
ENV ARM_TEST_LOCATION_ALT=${BUILD_ARM_TEST_LOCATION_ALT}
2222

2323
# Set work directory and generate ssh key
24-
RUN mkdir /go
25-
RUN mkdir /go/bin
26-
RUN mkdir /go/src
24+
RUN test -d /go || mkdir /go
25+
RUN test -d /go/bin || mkdir /go/bin
26+
RUN test -d /go/src || mkdir /go/src
2727
RUN mkdir /go/src/${MODULE_NAME}
2828
COPY . /go/src/${MODULE_NAME}
2929
WORKDIR /go/src/${MODULE_NAME}

0 commit comments

Comments
 (0)