Skip to content

Remove alpine 3.8 and cleanup 3.11 #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2020
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
1 change: 0 additions & 1 deletion release/lts/alpine38/dependabot/Dockerfile

This file was deleted.

88 changes: 0 additions & 88 deletions release/lts/alpine38/docker/Dockerfile

This file was deleted.

14 changes: 0 additions & 14 deletions release/lts/alpine38/getLatestTag.ps1

This file was deleted.

14 changes: 0 additions & 14 deletions release/lts/alpine38/meta.json

This file was deleted.

38 changes: 0 additions & 38 deletions release/lts/alpine38/test-deps/docker/Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions release/lts/alpine38/test-deps/meta.json

This file was deleted.

12 changes: 3 additions & 9 deletions release/preview/alpine311/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

# Docker image file that describes an Alpine3.11 image with PowerShell installed from .tar.gz file(s)

# Define arg(s) needed for the From statement
ARG fromTag=3.11
ARG imageRepo=alpine

FROM ${imageRepo}:${fromTag} AS installer-env
FROM alpine:3.11 AS installer-env

# Define Args for the needed to add the package
ARG PS_VERSION=7.0.0-preview.1
Expand All @@ -28,9 +24,7 @@ RUN mkdir -p ${PS_INSTALL_FOLDER}
RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v

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

ARG fromTag=3.11
FROM alpine:3.11

# Copy only the files we need from the previous stage
COPY --from=installer-env ["/opt/microsoft/powershell", "/opt/microsoft/powershell"]
Expand All @@ -45,7 +39,7 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION \
LANG=en_US.UTF-8 \
# set a fixed location for the Module analysis cache
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Alpine-${fromTag}
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Alpine-3.11

# Install dotnet dependencies and ca-certificates
RUN apk add --no-cache \
Expand Down
14 changes: 0 additions & 14 deletions release/preview/alpine311/getLatestTag.ps1

This file was deleted.

3 changes: 3 additions & 0 deletions release/preview/alpine311/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"#psversion#-alpine-#tag#",
"preview-alpine-#shorttag#"
],
"shortTags": [
{"Tag": "3.11"}
],
"SkipGssNtlmSspTests": true,
"SubImage": "test-deps",
"TestProperties": {
Expand Down
1 change: 0 additions & 1 deletion release/preview/alpine38/dependabot/Dockerfile

This file was deleted.

88 changes: 0 additions & 88 deletions release/preview/alpine38/docker/Dockerfile

This file was deleted.

14 changes: 0 additions & 14 deletions release/preview/alpine38/getLatestTag.ps1

This file was deleted.

15 changes: 0 additions & 15 deletions release/preview/alpine38/meta.json

This file was deleted.

38 changes: 0 additions & 38 deletions release/preview/alpine38/test-deps/docker/Dockerfile

This file was deleted.

Loading