File tree 2 files changed +42
-0
lines changed
2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ image :
2
+ file : .gitpod/Dockerfile
3
+
4
+ tasks :
5
+ - name : Build
6
+ init : |
7
+ ./build.sh -t Build
8
+
9
+ vscode :
10
+ extensions :
11
+ - Ionide.Ionide-fsharp
12
+ - muhammad-sammy.csharp
13
+
14
+ github :
15
+ prebuilds :
16
+ master : true
17
+ branches : true
18
+ pullRequests : true
19
+ pullRequestsFromForks : true
20
+ addCheck : false
21
+ addComment : false
22
+ addBadge : false
Original file line number Diff line number Diff line change
1
+ FROM gitpod/workspace-full
2
+
3
+ USER gitpod
4
+
5
+ # Install .NET SDK (Current channel)
6
+ # Source: https://docs.microsoft.com/dotnet/core/install/linux-scripted-manual#scripted-install
7
+ RUN mkdir -p /home/gitpod/dotnet && curl -fsSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 6.0.101 --install-dir /home/gitpod/dotnet
8
+ ENV DOTNET_ROOT=/home/gitpod/dotnet
9
+ ENV PATH=/home/gitpod/dotnet:$PATH
10
+
11
+ # Remove this hack when the kernel bug is resolved.
12
+ # ref. https://github.com/gitpod-io/gitpod/issues/8901
13
+ RUN bash \
14
+ && { echo 'if [ ! -z $GITPOD_REPO_ROOT ]; then' ; \
15
+ echo '\t CONTAINER_DIR=$(awk ' \' '{ print $6 }' \' ' /proc/self/maps | grep ^\/ run\/ containerd | head -n 1 | cut -d ' \' '/' \' ' -f 1-6)' ; \
16
+ echo '\t if [ ! -z $CONTAINER_DIR ]; then' ; \
17
+ echo '\t\t [[ ! -d $CONTAINER_DIR ]] && sudo mkdir -p $CONTAINER_DIR && sudo ln -s / $CONTAINER_DIR/rootfs' ; \
18
+ echo '\t fi' ; \
19
+ echo 'fi' ; } >> /home/gitpod/.bashrc.d/110-dotnet
20
+ RUN chmod +x /home/gitpod/.bashrc.d/110-dotnet
You can’t perform that action at this time.
0 commit comments