Update Dockerfiles to use MCR (#19388)

* Switch docker to pull from MCR

* try undo linux

* add back

* Update images
This commit is contained in:
Charles Gagnon
2022-05-16 14:49:31 -07:00
committed by GitHub
parent d641988161
commit d7ecdd89b1
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
#Download base image ubuntu 21.04
FROM ubuntu:21.04
#Download base image ubuntu 22.04
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:22.04
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

View File

@@ -1,5 +1,5 @@
#Download base image ubuntu 18.04
FROM ubuntu:18.04
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:18.04
#Adding apt repos for g++-4.9
RUN echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" >> /etc/apt/sources.list

View File

@@ -1,5 +1,5 @@
#Download base image ubuntu 21.04
FROM ubuntu:21.04
#Download base image ubuntu 22.04
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:22.04
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone