Skip to content

Commit 6cb3eb5

Browse files
RDILmsftbot[bot]
authored and
msftbot[bot]
committed
Add verbose switch to tar commands (#247)
* Add verbose switch to tar commands * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile
1 parent 7c4d7fa commit 6cb3eb5

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

release/community-stable/archlinux/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN \
5555
# create powershell folder
5656
&& mkdir -p ${PS_INSTALL_FOLDER} \
5757
# uncompress powershell linux tar file
58-
&& tar zxf /tmp/powershell-linux.tar.gz -C ${PS_INSTALL_FOLDER} \
58+
&& tar zxf /tmp/powershell-linux.tar.gz -C ${PS_INSTALL_FOLDER} -v \
5959
# remove powershell linux tar file
6060
&& rm -f /tmp/powershell-linux.tar.gz \
6161
# Create the pwsh symbolic link that points to powershell

release/preview/alpine38/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION
2525
RUN mkdir -p ${PS_INSTALL_FOLDER}
2626

2727
# Unzip the Linux tar.gz
28-
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER}
28+
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v
2929

3030
# Start a new stage so we lose all the tar.gz layers from the final image
3131
FROM ${imageRepo}:${fromTag}

release/preview/alpine39/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION
2525
RUN mkdir -p ${PS_INSTALL_FOLDER}
2626

2727
# Unzip the Linux tar.gz
28-
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER}
28+
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v
2929

3030
# Start a new stage so we lose all the tar.gz layers from the final image
3131
FROM ${imageRepo}:${fromTag}

release/preview/opensuse423/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN zypper --non-interactive install \
3131
ADD ${PS_PACKAGE_URL} /tmp/linux.tar.gz
3232

3333
# Unzip the Linux tar.gz
34-
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER}
34+
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v
3535

3636
# ------ Second stage ------
3737
# Start a new stage so we lose all the tar.gz layers from the final image

release/stable/alpine/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION
2525
RUN mkdir -p ${PS_INSTALL_FOLDER}
2626

2727
# Unzip the Linux tar.gz
28-
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER}
28+
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v
2929

3030
# Start a new stage so we lose all the tar.gz layers from the final image
3131
FROM ${imageRepo}:${fromTag}

release/stable/opensuse423/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN zypper --non-interactive install \
3131
ADD ${PS_PACKAGE_URL} /tmp/linux.tar.gz
3232

3333
# Unzip the Linux tar.gz
34-
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER}
34+
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v
3535

3636
# ------ Second stage ------
3737
# Start a new stage so we lose all the tar.gz layers from the final image

0 commit comments

Comments
 (0)