Commit
Author: Jason White [jwhite@esri.com]
Hash: 475f2d4d150bc12be1031a05f537a86c68d16453
Timestamp: Tue, 12 Mar 2019 21:08:35 +0000 (6 years ago)

+2 -4 +/-1 browse
Remove WORKDIR from Dockerfile
Remove WORKDIR from Dockerfile

The Docker Cloud build is failing because of this.
1diff --git a/Dockerfile b/Dockerfile
2index a8aa95b..991e96c 100644
3--- a/Dockerfile
4+++ b/Dockerfile
5 @@ -8,6 +8,8 @@ RUN \
6 apt-get -y install ca-certificates musl-tools && \
7 rustup target add ${CARGO_BUILD_TARGET}
8
9+ ENV PKG_CONFIG_ALLOW_CROSS=1
10+
11 # Use Tini as our PID 1. This will enable signals to be handled more correctly.
12 #
13 # Note that this can't be downloaded inside the scratch container as we have no
14 @@ -19,10 +21,6 @@ ENV TINI_VERSION v0.18.0
15 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static /tini
16 RUN chmod +x /tini
17
18- WORKDIR /source
19-
20- ENV PKG_CONFIG_ALLOW_CROSS=1
21-
22 # Build the real project.
23 COPY ./ ./
24