-
Notifications
You must be signed in to change notification settings - Fork 1k
Alpine fix; plus 1 #8821
Alpine fix; plus 1 #8821
Conversation
…RSION_ID" for the error message.
|
@janvorli |
|
@johnbeisner yes, I do, will test it soon. |
|
cc @kasper3 who reported https://github.com/dotnet/cli/issues/8792 |
|
When I use Alpine 3.6, I see some additional options on cp. Would |
|
@johnbeisner the script seems to work on Alpine, there is just one warning: |
|
@natemcmaster |
|
I'm not sure. The only way I've used Alpine is via Docker. |
|
@johnbeisner it still works ok. |
|
@janvorli |
natemcmaster
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
It works on Alpine 3.6 with Secondly, it would be nice to have a portable (non-GNU) way of finding the libs, instead of ldconfig, so we don't have to set |
|
From Trying to fetch |
|
@kasper3 |
|
@johnbeisner, there is no alpine 3.6 specific asset as I mentioned earlier. You should really give manual install a try (max time 3 minutes if you have docker installed) docker run -it alpine:latest
# or alpine:3.7
# in container
apk update
apk add curl libstdc++ libunwind libintl icu-libs openssl
curl -O https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-alpine.3.6-x64.tar.gz
mkdir -p /usr/bin/dotnet
tar -xzvf dotnet-sdk-latest-alpine.3.6-x64.tar.gz -C /usr/bin/dotnet
export PATH=$PATH:/usr/bin/dotnet
rm dotnet-sdk-latest-alpine.3.6-x64.tar.gz
nugetConfDir="/root/.nuget/NuGet"
mkdir -p $nugetConfDir
cat > $nugetConfDir/NuGet.Config <<-"EOF"
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
</packageSources>
</configuration>
EOFnow you can do So the bug in this |
|
@kasper3 |
|
OK thanks. Regarding this PR, is the proposed solution from dotnet/cli team for Alpine (any version) is to set |
|
@kasper3 |
Addresses: https://github.com/dotnet/cli/issues/8738
CP options for Alpine:
From: http://www.spblinux.de/2.0/doc/cp.html
-a Same as -dpR
-d Preserve links
-p Preserve file attributes if possible
-R Copy directories recursively