Skip to content

Commit

Permalink
Merge #424
Browse files Browse the repository at this point in the history
424: Prevent pkg-config from being removed in image r=reitermarkus a=jmagnuson

Currently, installing the toolchain for `arm-unknown-linux-gnueabihf`
uses `xz-utils` which gets pruned. This also removes `pkg-config`, so
remove the prune altogether to keep both packages. `curl` is also kept
as that was originally installed in `common.sh` as well.

Fixes #422 

Co-authored-by: Jon Magnuson <[email protected]>
  • Loading branch information
bors[bot] and jmagnuson authored May 16, 2020
2 parents 8a2f734 + 843ad77 commit 7d09c5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile.arm-unknown-linux-gnueabihf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ COPY xargo.sh /
RUN /xargo.sh

RUN mkdir /usr/arm-linux-gnueabihf && \
apt-get install --assume-yes --no-install-recommends curl xz-utils && \
cd /usr/arm-linux-gnueabihf && \
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz | \
tar --strip-components 1 -xJ && \
apt-get purge --auto-remove -y curl xz-utils
tar --strip-components 1 -xJ

ENV PATH /usr/arm-linux-gnueabihf/bin:$PATH

Expand Down

0 comments on commit 7d09c5e

Please sign in to comment.