Skip to content

Commit

Permalink
update docker container files to net 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsonax committed Nov 13, 2024
1 parent 905b034 commit 459a85f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim-amd64
FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim-amd64

RUN apt-get update && apt-get install -y ssh
# This Dockerfile adds a non-root 'vscode' user with sudo access. However, for Linux,
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pre-build .NET NetDaemon core project
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim-amd64 as netbuilder
FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim-amd64 as netbuilder
#FROM mcr.microsoft.com/dotnet/sdk:8.0 as netbuilder
ARG TARGETPLATFORM
ARG BUILDPLATFORM
Expand All @@ -14,7 +14,7 @@ COPY . /usr
RUN dotnet publish /usr/src/Host/NetDaemon.Host.Default/NetDaemon.Host.Default.csproj -o "/daemon"

# Final stage, create the runtime container
FROM ghcr.io/net-daemon/netdaemon_base:8
FROM ghcr.io/net-daemon/netdaemon_base:9

# # Install S6 and the Admin site
# COPY ./Docker/rootfs/etc/services.d/NetDaemonAdmin /etc/services.d/NetDaemonAdmin
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.AddOn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# No admin support yet, we need to build the websocket API
# Pre-build .NET NetDaemon core project
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim-amd64 as netbuilder
FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim-amd64 as netbuilder
ARG TARGETPLATFORM
ARG BUILDPLATFORM

Expand All @@ -14,7 +14,7 @@ COPY . /usr
RUN dotnet publish /usr/src/Host/NetDaemon.Host.Default/NetDaemon.Host.Default.csproj -o "/daemon"

# Final stage, create the runtime container
FROM ghcr.io/net-daemon/netdaemon_addonbase:8
FROM ghcr.io/net-daemon/netdaemon_addonbase:9

# # Install S6 and the Admin site
COPY --chmod=755 ./Docker/rootfs/etc/services.d/netdaemon_addon /etc/s6-overlay/s6-rc.d/netdaemon_addon
Expand Down

0 comments on commit 459a85f

Please sign in to comment.