Skip to content

Commit 3ebcf60

Browse files
committed
Add dependabot
1 parent 43ae196 commit 3ebcf60

File tree

5 files changed

+30
-12
lines changed

5 files changed

+30
-12
lines changed

.github/dependabot.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2+
version: 2
3+
updates:
4+
5+
# main
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
interval: "daily"
10+
11+
# develop
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
target-branch: "develop"
15+
schedule:
16+
interval: "daily"

.github/workflows/BuildPublishPipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: 'Setup QEMU'
2727
uses: docker/setup-qemu-action@v2
2828
with:
29-
platforms: linux/amd64,linux/arm64,linux/arm/v7
29+
platforms: linux/amd64,linux/arm64
3030

3131
# https://github.com/marketplace/actions/docker-setup-buildx
3232
- name: 'Setup Docker Buildx'

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222

2323

2424
# https://github.com/linuxserver/docker-code-server
25+
# https://github.com/linuxserver/docker-code-server/blob/master/Dockerfile
2526
FROM lscr.io/linuxserver/code-server:latest
2627

2728
# Image label
2829
# TODO: Get current LTS and STS versions dynamically
29-
ARG LABEL_VERSION="60.70"
30+
ARG LABEL_VERSION="70.80"
3031
LABEL name="VSCode-Server-DotNet" \
3132
version=${LABEL_VERSION} \
3233
description="VSCode Server with .NET SDK Pre-Installed" \
@@ -47,8 +48,9 @@ ENV DOTNET_RUNNING_IN_CONTAINER=true \
4748
# No installer frontend interaction
4849
DEBIAN_FRONTEND=noninteractive
4950

50-
# Prerequisites
51+
# Prerequisites, keep up with LSIO base image, currently Ubuntu Jammy 22.04
5152
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#dependencies
53+
# https://github.com/linuxserver/docker-code-server/blob/master/Dockerfile
5254
RUN apt-get update && apt-get upgrade -y \
5355
&& apt-get install -y --no-install-recommends \
5456
libc6 \
@@ -69,7 +71,7 @@ RUN apt-get update && apt-get upgrade -y \
6971
# https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#set-environment-variables
7072
ENV DOTNET_ROOT=/usr/share/dotnet
7173

72-
# Install .NET
74+
# Install .NET LTS and STS versions
7375
# https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
7476
# https://github.com/dotnet/install-scripts/blob/main/src/dotnet-install.sh
7577
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ Docker image is based on [LinuxServer.io Code-Server](https://github.com/linuxse
1616
## Container Images
1717

1818
Docker container images are published on [Docker Hub](https://hub.docker.com/r/ptr727/vscode-server-dotnetcore).
19-
Multi-Architecture images are created for `linux/amd64` and `linux/arm64` (`linux/arm/v7` is [no longer supported](https://www.linuxserver.io/blog/a-farewell-to-arm-hf) by LSIO).
19+
Multi-Architecture images are created for `linux/amd64` and `linux/arm64` (`linux/arm/v7` is [not longer supported](https://www.linuxserver.io/blog/a-farewell-to-arm-hf) by LSIO).
2020
Tags are `latest` for `main` branch and `develop` for `develop` branch.
2121
E.g. `docker pull ptr727/vscode-server-dotnetcore:latest`
2222
E.g. `docker pull ptr727/vscode-server-dotnetcore:develop`
2323

24-
Builds include the LTS and STS [supported versions](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core) of .NET SDK's.
25-
Currently .NET 6.0 and .NET 7.0.
24+
Builds include the LTS and STS [supported versions](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core) of .NET SDK's.
2625

2726
Images are automatically rebuilt every Monday morning, picking up the latest upstream updates.
2827
![Docker Pulls](https://img.shields.io/docker/pulls/ptr727/vscode-server-dotnetcore?logo=docker)
@@ -31,7 +30,3 @@ Images are automatically rebuilt every Monday morning, picking up the latest ups
3130
## Usage
3231

3332
Follow the [linuxserver/code-server](https://github.com/linuxserver/docker-code-server) instructions.
34-
35-
## Notes
36-
37-
- When Multi-Arch image support was added, PowerShell was removed because installing it on all platforms was non-trivial. Let me know if you really need it, and I'll reinvestigate.

VSCode-Server-DotNetCore.code-workspace

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
"path": "."
55
}
66
],
7-
"settings": {}
7+
"settings": {
8+
"cSpell.words": [
9+
"dotnetcore",
10+
"LSIO"
11+
],
12+
}
813
}

0 commit comments

Comments
 (0)