Skip to content

Commit 6e25035

Browse files
committed
Set WORKDIR to $HOME and create a /builds for CI usage
1 parent 3d97bab commit 6e25035

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted
5555
echo "deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
5656
apt-get update -y
5757

58+
# Create builds dir for CI
59+
RUN mkdir /builds && chmod 777 /builds
60+
5861
COPY ./entrypoint.sh /
5962
RUN chmod 755 /entrypoint.sh
6063

6164
# Run as a normal user
6265
USER ubuntu
66+
WORKDIR /home/ubuntu
6367
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)