Skip to content

Commit 772abb5

Browse files
authored
Add image to build runtime on illumos x64 (#324)
1 parent a273f51 commit 772abb5

File tree

6 files changed

+25
-1
lines changed

6 files changed

+25
-1
lines changed

manifest.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,18 @@
507507
}
508508
]
509509
},
510+
{
511+
"platforms": [
512+
{
513+
"dockerfile": "src/ubuntu/18.04/cross/illumos",
514+
"os": "linux",
515+
"osVersion": "bionic",
516+
"tags": {
517+
"ubuntu-18.04-cross-illumos-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)": {}
518+
}
519+
}
520+
]
521+
},
510522
{
511523
"platforms": [
512524
{
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-crossdeps
2+
3+
ADD rootfs.x64.tar crossrootfs
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
rm -rf $PWD/rootfs*.tar
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
3+
SCRIPT=$(readlink -f "$0")
4+
SCRIPTPATH=$(dirname "$SCRIPT")
5+
$SCRIPTPATH/../../../../build-scripts/build-rootfs.sh ubuntu-18.04 illumos x64

src/ubuntu/18.04/crossdeps/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN apt-get update \
2626
liblzma-dev \
2727
libarchive-dev \
2828
libbsd-dev \
29+
libmpc-dev \
2930
&& rm -rf /var/lib/apt/lists/*
3031

3132
RUN apt-get update \

src/ubuntu/build-scripts/build-rootfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131

3232
echo "Using $dockerCrossDepsTag to clone arcade to fetch scripts used to build cross-toolset"
3333
docker exec $buildRootFSContainer \
34-
git clone --depth 1 https://github.com/dotnet/arcade /scripts
34+
git clone --depth 1 --single-branch https://github.com/dotnet/arcade /scripts
3535

3636
if [ $? -ne 0 ]; then
3737
echo "Rootfs build failed: `git clone https://github.com/dotnet/arcade /scripts` returned error"

0 commit comments

Comments
 (0)