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
3 changes: 2 additions & 1 deletion docker/release/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ RUN curl https://packages.microsoft.com/config/rhel/7/prod.repo | tee /etc/yum.r

# Install latest powershell from Microsoft YUM Repo
RUN yum install -y \
powershell
powershell \
&& yum clean all

# Use PowerShell as the default shell
# Use array to avoid Docker prepending /bin/sh -c
Expand Down
3 changes: 2 additions & 1 deletion docker/release/fedora26/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
RUN curl https://packages.microsoft.com/config/rhel/7/prod.repo | tee /etc/yum.repos.d/microsoft.repo

# Install latest powershell from Microsoft YUM Repo
RUN dnf install -y powershell
RUN dnf install -y powershell \
&& dnf clean all

# Use array to avoid Docker prepending /bin/sh -c
CMD [ "pwsh" ]
3 changes: 2 additions & 1 deletion docker/release/fedora27/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
RUN curl https://packages.microsoft.com/config/rhel/7/prod.repo | tee /etc/yum.repos.d/microsoft.repo

# Install latest powershell from Microsoft YUM Repo
RUN dnf install -y powershell
RUN dnf install -y powershell \
&& dnf clean all

# Use array to avoid Docker prepending /bin/sh -c
CMD [ "pwsh" ]