mirror of https://github.com/aminya/setup-cpp
ci: use ubuntu 20.04 in the node docker test
This commit is contained in:
parent
861fbd37a1
commit
0646930b89
|
@ -1,10 +1,10 @@
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
# set time-zone
|
# set time-zone
|
||||||
ENV TZ=Canada/Pacific
|
ENV TZ=Canada/Pacific
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
# The nodejs that ships on ubuntu:latest servers is too old.
|
# The nodejs that ships on ubuntu:20.04 servers is too old.
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update -qq
|
RUN apt-get update -qq
|
||||||
RUN apt-get install -y --no-install-recommends curl gnupg ca-certificates
|
RUN apt-get install -y --no-install-recommends curl gnupg ca-certificates
|
||||||
|
|
Loading…
Reference in New Issue