File tree 4 files changed +52
-0
lines changed
src/ci/docker/host-x86_64
4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ RUN apt-get update && \
3
+ apt-get install -y --no-install-recommends \
4
+ curl \
5
+ ca-certificates
6
+ WORKDIR /tmp
7
+ RUN curl -f https://curl.se/ca/cacert.pem -o cacert.pem
8
+
1
9
FROM ubuntu:16.04
2
10
11
+ # The ca-certificates in ubuntu-16 is too old, so update the certificates
12
+ # with something more recent.
13
+ COPY --from=0 /tmp/cacert.pem /tmp/cacert.pem
14
+ ENV CURL_CA_BUNDLE /tmp/cacert.pem
15
+
3
16
COPY scripts/cross-apt-packages.sh /scripts/
4
17
RUN sh /scripts/cross-apt-packages.sh
5
18
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ RUN apt-get update && \
3
+ apt-get install -y --no-install-recommends \
4
+ curl \
5
+ ca-certificates
6
+ WORKDIR /tmp
7
+ RUN curl -f https://curl.se/ca/cacert.pem -o cacert.pem
8
+
1
9
FROM ubuntu:16.04
2
10
11
+ # The ca-certificates in ubuntu-16 is too old, so update the certificates
12
+ # with something more recent.
13
+ COPY --from=0 /tmp/cacert.pem /tmp/cacert.pem
14
+ ENV CURL_CA_BUNDLE /tmp/cacert.pem
15
+
3
16
COPY scripts/cross-apt-packages.sh /scripts/
4
17
RUN sh /scripts/cross-apt-packages.sh
5
18
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ RUN apt-get update && \
3
+ apt-get install -y --no-install-recommends \
4
+ curl \
5
+ ca-certificates
6
+ WORKDIR /tmp
7
+ RUN curl -f https://curl.se/ca/cacert.pem -o cacert.pem
8
+
1
9
FROM ubuntu:16.04
2
10
11
+ # The ca-certificates in ubuntu-16 is too old, so update the certificates
12
+ # with something more recent.
13
+ COPY --from=0 /tmp/cacert.pem /tmp/cacert.pem
14
+ ENV CURL_CA_BUNDLE /tmp/cacert.pem
15
+
3
16
COPY scripts/cross-apt-packages.sh /scripts/
4
17
RUN sh /scripts/cross-apt-packages.sh
5
18
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ RUN apt-get update && \
3
+ apt-get install -y --no-install-recommends \
4
+ curl \
5
+ ca-certificates
6
+ WORKDIR /tmp
7
+ RUN curl -f https://curl.se/ca/cacert.pem -o cacert.pem
8
+
1
9
FROM ubuntu:16.04
2
10
11
+ # The ca-certificates in ubuntu-16 is too old, so update the certificates
12
+ # with something more recent.
13
+ COPY --from=0 /tmp/cacert.pem /tmp/cacert.pem
14
+ ENV CURL_CA_BUNDLE /tmp/cacert.pem
15
+
3
16
COPY scripts/cross-apt-packages.sh /scripts/
4
17
RUN sh /scripts/cross-apt-packages.sh
5
18
You can’t perform that action at this time.
0 commit comments