Skip to content

Commit 3e9c673

Browse files
authored
Bump SDK to 8.0.300 (#3100)
* Initial bump to 8.0.300 * Bump tools
1 parent 09635e5 commit 3e9c673

File tree

4 files changed

+36
-16
lines changed

4 files changed

+36
-16
lines changed

.config/dotnet-tools.json

+10-6
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,29 @@
66
"version": "0.19.2",
77
"commands": [
88
"dotnet-fsharplint"
9-
]
9+
],
10+
"rollForward": false
1011
},
1112
"fantomas": {
12-
"version": "6.3.0",
13+
"version": "6.3.9",
1314
"commands": [
1415
"fantomas"
15-
]
16+
],
17+
"rollForward": false
1618
},
1719
"fsdocs-tool": {
18-
"version": "20.0.0",
20+
"version": "21.0.0-beta-002",
1921
"commands": [
2022
"fsdocs"
21-
]
23+
],
24+
"rollForward": false
2225
},
2326
"fsharp-analyzers": {
2427
"version": "0.25.0",
2528
"commands": [
2629
"fsharp-analyzers"
27-
]
30+
],
31+
"rollForward": false
2832
}
2933
}
3034
}

.devcontainer/Dockerfile

+21-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,31 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0.200
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0.300
22

33
# Avoid warnings by switching to noninteractive
44
ENV DEBIAN_FRONTEND=noninteractive
55

6+
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
7+
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
8+
# will be updated to match your local UID/GID (when using the dockerFile property).
9+
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
10+
ARG USERNAME=vscode
11+
ARG USER_UID=1000
12+
ARG USER_GID=$USER_UID
13+
614
# Configure apt and install packages
715
RUN apt-get update \
816
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
9-
# Verify bash, git, process tools, lsb-release (common in install instructions for CLIs) installed
10-
&& apt-get -y install bash git openssh-client less iproute2 procps lsb-release \
11-
&& apt-get -y install gnupg \
17+
#
18+
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
19+
&& apt-get -y install git iproute2 procps lsb-release \
20+
#
21+
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
22+
&& groupadd --gid $USER_GID $USERNAME \
23+
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
24+
# [Optional] Add sudo support for the non-root user
25+
&& apt-get install -y sudo \
26+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
27+
&& chmod 0440 /etc/sudoers.d/$USERNAME \
28+
#
1229
# Clean up
1330
&& apt-get autoremove -y \
1431
&& apt-get clean -y \

.devcontainer/devcontainer.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
},
88

99
// Features to add to the dev container. More info: https://containers.dev/features.
10-
// "features": {},
10+
"features": {
11+
"ghcr.io/devcontainers/features/github-cli:1": {}
12+
},
1113

1214
// Configure tool-specific properties.
1315
"customizations": {
@@ -21,15 +23,12 @@
2123
]
2224
}
2325
},
24-
"features": {
25-
"ghcr.io/devcontainers/features/github-cli:1": {}
26-
},
2726

2827
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2928
"forwardPorts": [ 8901 ],
3029

3130
// Use 'postCreateCommand' to run commands after the container is created.
32-
"postCreateCommand": "dotnet restore",
31+
"postCreateCommand": "dotnet tool restore && dotnet restore",
3332

3433
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3534
"remoteUser": "root"

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.200",
3+
"version": "8.0.300",
44
"rollForward": "latestMinor"
55
}
66
}

0 commit comments

Comments
 (0)