mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Update dist-armhf-linux to Ubuntu 20.04
This commit is contained in:
parent
6d2aa1894d
commit
2c8c4f1fbf
@ -1,17 +1,4 @@
|
||||
FROM ubuntu:20.04
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
ca-certificates
|
||||
WORKDIR /tmp
|
||||
RUN curl -f https://curl.se/ca/cacert.pem -o cacert.pem
|
||||
|
||||
FROM ubuntu:16.04
|
||||
|
||||
# The ca-certificates in ubuntu-16 is too old, so update the certificates
|
||||
# with something more recent.
|
||||
COPY --from=0 /tmp/cacert.pem /tmp/cacert.pem
|
||||
ENV CURL_CA_BUNDLE /tmp/cacert.pem
|
||||
|
||||
COPY scripts/cross-apt-packages.sh /scripts/
|
||||
RUN sh /scripts/cross-apt-packages.sh
|
||||
|
Loading…
Reference in New Issue
Block a user