mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update Dockerfiles to use MCR (#19388)
* Switch docker to pull from MCR * try undo linux * add back * Update images
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#Download base image ubuntu 21.04
|
#Download base image ubuntu 22.04
|
||||||
FROM ubuntu:21.04
|
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:22.04
|
||||||
ENV TZ=America/Los_Angeles
|
ENV TZ=America/Los_Angeles
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#Download base image ubuntu 18.04
|
#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
|
#Adding apt repos for g++-4.9
|
||||||
RUN echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" >> /etc/apt/sources.list
|
RUN echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" >> /etc/apt/sources.list
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#Download base image ubuntu 21.04
|
#Download base image ubuntu 22.04
|
||||||
FROM ubuntu:21.04
|
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:22.04
|
||||||
ENV TZ=America/Los_Angeles
|
ENV TZ=America/Los_Angeles
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user