Visitar URL original
build ironpython3 in dotnet sdk3.0 docker · IronLanguages/ironpython3@ddeaba9 · GitHub
Skip to content

Commit ddeaba9

Browse files
committed
build ironpython3 in dotnet sdk3.0 docker
1 parent 0911fb1 commit ddeaba9

4 files changed

Lines changed: 50 additions & 0 deletions

File tree

‎adduser1000.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
groupadd -g 1000 elf && useradd -m -g 1000 -u 1000 elf
3+
cat /etc/passwd |grep elf
4+
ln -s /mnt/work/libunwind.so.8 /usr/lib/x86_64-linux-gnu/libunwind.so.8
5+
ln -s /mnt/work/libunwind.so.8 /usr/lib/x86_64-linux-gnu/libunwind-x86_64.so.8
6+
su elf

‎dkr.sh‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
echo "my dotnet docker"
4+
docker run -it --rm --name mydot \
5+
--user root \
6+
-v $(pwd):/mnt/work -w /mnt/work \
7+
mcr.microsoft.com/dotnet/core/sdk:3.0 \
8+
/bin/bash

‎my_make.sh‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
# dotnet msbuild Build.proj /nologo /bl:build-Build-Release.binlog /m /p:Configuration=Release /p:Platform=Any CPU /t:Build /verbosity:minimal
3+
4+
target="Build"
5+
configuration="Debug"
6+
tgtFramework="netcoreapp3.0"
7+
8+
dotnet msbuild Build.proj /m /t:$target /p:Configuration=$configuration \
9+
/verbosity:minimal /nologo /p:Platform="Any CPU" \
10+
/p:TargetFrameworkVersion=$tgtFramework \
11+
/bl:build-$target-$configuration.binlog
12+
13+
#dotnet msbuild Build.proj -c $configuration \
14+
# -f $tgtFramework \
15+
# -bl:build-$target-$configuration.binlog
16+

‎readme.txt‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
DLR submodule initialization
2+
$ git submodule update --init
3+
-->
4+
Submodule 'Src/DLR' (https://github.com/IronLanguages/dlr) registered for path 'Src/DLR'
5+
Cloning into 'Src/DLR'...
6+
remote: Enumerating objects: 91, done.
7+
remote: Counting objects: 100% (91/91), done.
8+
remote: Compressing objects: 100% (59/59), done.
9+
remote: Total 6186 (delta 45), reused 51 (delta 26), pack-reused 6095
10+
Receiving objects: 100% (6186/6186), 22.22 MiB | 2.05 MiB/s, done.
11+
Resolving deltas: 100% (4355/4355), done.
12+
Checking connectivity... done.
13+
Submodule path 'Src/DLR': checked out '506a1c8a760b9452d663bdc2077c31fa6960026a'
14+
15+
16+
//===
17+
ironpython3$ ./dkr.sh
18+
/mnt/work# ./adduser1000.sh
19+
elf@/mnt/work$ ./my_make.sh
20+

0 commit comments

Comments
 (0)