mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update docs and scripts for beta.9 (#5217)
This commit is contained in:
committed by
Dongbo Wang
parent
1702358e75
commit
d0806811e4
@@ -5,7 +5,7 @@ set -e
|
||||
|
||||
#
|
||||
# Example use:
|
||||
# ./InstallTarballPackage.sh "6.0.0-beta.8" "powershell-6.0.0-beta.8-linux-x64.tar.gz"
|
||||
# ./InstallTarballPackage.sh "6.0.0-beta.9" "powershell-6.0.0-beta.9-linux-x64.tar.gz"
|
||||
#
|
||||
usage() {
|
||||
echo "usage: $0 <powershell version> <powershell package name>"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
FROM amazonlinux:latest
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.8-linux-x64.tar.gz
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.9-linux-x64.tar.gz
|
||||
ARG IMAGE_NAME=microsoft/powershell:amazonlinux
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -29,7 +29,7 @@ ENV LC_ALL $LANG
|
||||
RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN yum install -y \
|
||||
RUN yum install -y \
|
||||
curl \
|
||||
libunwind \
|
||||
libicu \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM centos:7
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:centos7
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -29,7 +29,7 @@ ENV LC_ALL $LANG
|
||||
RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN yum install -y \
|
||||
RUN yum install -y \
|
||||
curl \
|
||||
&& yum clean all
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM fedora:25
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:fedora25
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -23,7 +23,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
# TODO: addd LABEL org.label-schema.vcs-ref=${VCS_REF}
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN dnf install -y \
|
||||
RUN dnf install -y \
|
||||
curl \
|
||||
glibc-locale-source \
|
||||
&& dnf clean all
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM fedora:26
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:fedora26
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -23,7 +23,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
# TODO: addd LABEL org.label-schema.vcs-ref=${VCS_REF}
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN dnf install -y \
|
||||
RUN dnf install -y \
|
||||
curl \
|
||||
glibc-locale-source \
|
||||
&& dnf clean all
|
||||
|
||||
@@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver-insider
|
||||
FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env
|
||||
|
||||
# Arguments for installing powershell, must be defined in the container they are used
|
||||
ARG PS_VERSION=6.0.0-beta.8
|
||||
ARG PS_VERSION=6.0.0-beta.9
|
||||
|
||||
ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip
|
||||
|
||||
@@ -23,7 +23,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell
|
||||
FROM ${NanoServerRepo}:$NanoServerVersion
|
||||
|
||||
ARG VCS_REF="none"
|
||||
ARG PS_VERSION=6.0.0-beta.8
|
||||
ARG PS_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/nanoserver-insider-powershell
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# escape=`
|
||||
FROM microsoft/nanoserver:latest
|
||||
|
||||
ARG POWERSHELL_ZIP=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.8/PowerShell-6.0.0-beta.8-win-x64.zip
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_ZIP=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/PowerShell-6.0.0-beta.9-win-x64.zip
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:nanoserver
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
FROM opensuse:42.2
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.8-linux-x64.tar.gz
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.9-linux-x64.tar.gz
|
||||
ARG IMAGE_NAME=microsoft/powershell:opensuse42.2
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM ubuntu:trusty
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -33,12 +33,12 @@ RUN apt-get update \
|
||||
apt-utils \
|
||||
ca-certificates \
|
||||
curl \
|
||||
apt-transport-https \
|
||||
apt-transport-https \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Import the public repository GPG keys for Microsoft
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||
|
||||
|
||||
# Register the Microsoft Ubuntu 14.04 repository
|
||||
RUN curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | tee /etc/apt/sources.list.d/microsoft.list
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM ubuntu:xenial
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
@@ -39,7 +39,7 @@ RUN locale-gen $LANG && update-locale
|
||||
|
||||
# Import the public repository GPG keys for Microsoft
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||
|
||||
|
||||
# Register the Microsoft Ubuntu 16.04 repository
|
||||
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/microsoft.list
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# escape=`
|
||||
FROM microsoft/windowsservercore:latest
|
||||
|
||||
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.8/PowerShell-6.0.0-beta.8-win-x64.msi
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/PowerShell-6.0.0-beta.9-win-x64.msi
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:windowsservercore
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
||||
Reference in New Issue
Block a user