Skip to content

Commit c40532b

Browse files
authored
Merge pull request #136 from PrincipleStudios/infra/docker-build-improvements
Leverage official image to avoid Microsoft repos
2 parents f02050d + 657f69f commit c40532b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
FROM ubuntu AS base
1+
FROM mcr.microsoft.com/powershell:lts-ubuntu-20.04 AS base
22
RUN apt-get update \
33
&& apt-get install -y wget apt-transport-https software-properties-common \
4-
&& wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
5-
&& dpkg -i packages-microsoft-prod.deb \
6-
&& rm packages-microsoft-prod.deb \
74
&& apt-get update \
85
&& add-apt-repository universe \
96
&& add-apt-repository ppa:git-core/ppa \
10-
&& apt-get install -y git powershell \
7+
&& apt-get install -y git \
118
&& apt-get clean
129
RUN git config --global user.email "[email protected]" \
1310
&& git config --global user.name "Integration Testing" \

0 commit comments

Comments
 (0)