Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker image file that describes an Centos7 image with PowerShell installed from Microsoft YUM Repo

FROM microsoft/powershell:centos7
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
FROM mcr.microsoft.com/powershell:centos7
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"

# Install dependencies and clean up
RUN yum install -y \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker image file that describes an Ubuntu14.04 image with PowerShell installed from Microsoft APT Repo

FROM microsoft/powershell:ubuntu14.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
FROM mcr.microsoft.com/powershell:ubuntu14.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"

# Install dependencies and clean up
RUN apt-get update \
Expand All @@ -27,7 +27,7 @@ RUN apt-get update \
dpkg-dev \
libfuse-dev \
fuse \
python \
python \
&& rm -rf /var/lib/apt/lists/*

COPY PowerShellPackage.ps1 /
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker image file that describes an Ubuntu16.04 image with PowerShell installed from Microsoft APT Repo

FROM microsoft/powershell:ubuntu16.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
FROM mcr.microsoft.com/powershell:ubuntu16.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"

# Install dependencies and clean up
RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# escape=`
#0.3.6 (no powershell 6)
FROM microsoft/powershell:windowsservercore
FROM mcr.microsoft.com/powershell:windowsservercore

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed servercore dockerfile wasn't updated in the last PR (and it is using strange FROM location). Just FYI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is just a sample in PSRelease repo.

LABEL maintainer='PowerShell Team <powershellteam@hotmail.com>'
LABEL description="This Dockerfile for Windows Server Core with git installed via chocolatey."

Expand All @@ -15,7 +15,7 @@ RUN Import-Module ./containerFiles/dockerInstall.psm1; `

# Install WIX
ADD https://github.com/wixtoolset/wix3/releases/download/wix311rtm/wix311-binaries.zip /wix.zip
COPY wix.psm1 containerFiles/wix.psm1
COPY wix.psm1 containerFiles/wix.psm1
RUN Import-Module ./containerFiles/wix.psm1; `
Install-WixZip -zipPath \wix.Zip

Expand Down