Commit
+2 -4 +/-1 browse
1 | diff --git a/Dockerfile b/Dockerfile |
2 | index 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 |