# Build image for Driver Store Explorer (Rapr) # Uses Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 # Working directory inside the container WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Uses Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 # Working directory inside the container WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Uses Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Uses Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Build a Windows desktop application targeting .NET Framework 4.6.2 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Build a Windows desktop application targeting .NET Framework 4.6.2 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Use a Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM microsoft/dotnet-framework-sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) - Windows .NET Framework WinForms app # Uses a Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) # Windows .NET Framework WinForms app - build from source FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) - Windows .NET Framework WinForms app # Uses a Windows .NET Framework SDK image to compile a WinForms app targeting net462 FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) - Windows .NET Framework app FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Expose the built application as the entrypoint CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Driver Store Explorer (Rapr) - Windows .NET Framework app
# Build from source using a Windows .NET Framework SDK image
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
WORKDIR /src
# Copy the entire repository
COPY . ./
# Install NuGet CLI and restore packages
RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe" \
&& .\nuget.exe restore Rapr.sln
# Build the project in Release configuration for Any CPU
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal
# Expose the built application as the entrypoint
# The app executable is Rapr.exe located in Rapr/bin/Release
CMD ["Rapr\\bin\\Release\\Rapr.exe"]
serversideup/ansible-core (0 stars): Run Ansible anywhere with a lightweight and powerful Docker image. octopusdeploy/mssql-server-windows-express (7 stars): Fork of official microsoft/mssql-server-windows-express serversideup/php (57 stars): Production-ready PHP Docker images optimized for Laravel and WordPress. appdynamics/dotnet-core-agent (10 stars): DotNet Core Agent for Kubernetes rancher/coredns-coredns (4 stars): rancher/mirrored-coredns-coredns (0 stars): serversideup/php-dev (2 stars): This is a development repository for serversideup/php. There will be unstable an octopusdeploy/mssql-server-2014-express-windows (4 stars): Microsoft SQL Server 2014 Express installed in Windows Server Core based contain bitnami/harbor-core (15 stars): Bitnami Secure Image for harbor-core serversideup/ansible (2 stars): Run Ansible anywhere with a lightweight and powerful Docker image.
# Build image for Driver Store Explorer (Rapr) # Windows .NET Framework WinForms app - build from source FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository COPY . ./ # Restore NuGet packages for the solution RUN nuget restore Rapr.sln # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Expose the built application as the entrypoint # The app executable is Rapr.exe located in Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/windows/servercore:ltsc2019
WORKDIR /src
# Copy the source code
COPY . ./
# Install NuGet CLI and restore dependencies
RUN powershell -NoProfile -Command "iwr -uri https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe" \
&& ./nuget.exe restore Rapr.sln
# Build the solution in Release mode for Any CPU
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal
# Run the built application
CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the source code COPY . ./ # Install NuGet CLI and restore dependencies RUN powershell -NoProfile -Command "Set-ExecutionPolicy Bypass -Scope Process -Force; iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe; .\nuget.exe restore Rapr.sln" # Build the solution in Release mode for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Run the built application CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src # Copy the entire repository into the container COPY . ./ # Install NuGet CLI and restore NuGet packages for the solution RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe; .\\nuget.exe restore Rapr.sln" # Build the project in Release configuration for Any CPU RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Run the built application CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/windows/servercore:ltsc2019
WORKDIR C:\src
# Copy the repository into the container
COPY . .
# Install NuGet CLI and restore NuGet packages for the solution
RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\nuget.exe" \
&& C:\nuget.exe restore Rapr.sln
# Build will require Visual Studio Build Tools to be installed in the image.
# This Dockerfile focuses on building from source in a Windows environment.
# Users can extend this image to install MSBuild/VS Build Tools as needed.
# Run the built application (if built during image creation)
CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
WORKDIR /src
# Copy the repository into the container
COPY . ./
# Download NuGet CLI and restore NuGet packages
RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe" \
&& ./nuget.exe restore Rapr.sln
# Build the solution in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /v:minimal
# Default command: do nothing by default; users can run the app if needed
CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Build image for Rapr (Driver Store Explorer) - Windows .NET Framework app
# Stage 1: build
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build
WORKDIR /src
# Copy source
COPY . ./
# Download NuGet CLI and restore dependencies
RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\\nuget.exe" \
&& C:\\nuget.exe restore Rapr.sln
# Build the solution in Release mode for Any CPU
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal
# Stage 2: runtime
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime
WORKDIR /Rapr
# Copy built output from stage 1
COPY --from=build /src/Rapr/Rapr/bin/Release /Rapr/bin/Release
# Expose the application executable
CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src COPY . ./ RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 WORKDIR /Rapr COPY --from=build /src/Rapr/Rapr/bin/Release /Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 WORKDIR /src COPY . ./ RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/windows/servercore:ltsc2019 WORKDIR C:\src # Copy the repository into the image COPY . . # Install NuGet CLI and restore dependencies RUN powershell -NoProfile -Command "iwr -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\\nuget.exe; C:\\nuget.exe restore Rapr.sln" # Note: Building .NET Framework projects typically requires MSBuild/VS Build Tools to be installed in the image. # This Dockerfile focuses on a build-from-source workflow; extend as needed for a complete build environment. CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src COPY . ./ RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR /Rapr COPY --from=build /src/Rapr/Rapr/bin/Release /Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src COPY . ./ RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR /Rapr COPY --from=build /src/Rapr/Rapr/bin/Release /Rapr/bin/Release CMD ["Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Windows build (multi-stage)
# Note: This project targets .NET Framework 4.6.2 and uses Windows Forms.
# This Dockerfile builds the project from source in a Windows container and provides a runnable binary.
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build
WORKDIR /src
# Copy solution and projects
COPY Rapr.sln .
COPY Rapr Rapr
COPY RaprTests RaprTests
# Install NuGet CLI and restore packages
RUN powershell -Command \
Invoke-WebRequest -OutFile nuget.exe -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
RUN powershell -Command \
.\nuget.exe restore Rapr.sln
# Build Rapr in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal
# Runtime image with only what's needed to run the built binary
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
WORKDIR C:\Rapr
# Copy built output from build stage
COPY --from=build /src/Rapr/bin/Release Rapr/bin/Release
# Run the GUI application (note: container GUI support depends on host/VM capabilities)
ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Windows build (multi-stage)
# Note: This project targets .NET Framework 4.6.2 and uses Windows Forms.
# This Dockerfile builds the project from source in a Windows container and provides a runnable binary.
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build
WORKDIR /src
# Copy solution and projects
COPY Rapr.sln ./
COPY Rapr Rapr
COPY RaprTests RaprTests
# Install NuGet CLI and restore packages
RUN powershell -Command \
Invoke-WebRequest -OutFile nuget.exe -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
RUN powershell -Command \
.\nuget.exe restore Rapr.sln
# Build Rapr in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal
# Runtime image with only what's needed to run the built binary
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
WORKDIR /Rapr
# Copy built output from build stage
COPY --from=build /src/Rapr/bin/Release /Rapr/bin/Release
# Run the GUI application (note: container GUI support depends on host/VM capabilities)
ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Linux build attempt (not supported for Windows Forms .NET Framework) # Note: This repository targets .NET Framework 4.6.2 with Windows Forms, which is not buildable on Linux containers. # This Dockerfile demonstrates a Linux-based build flow as a placeholder. For a working container, build on Windows with a Windows container. FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln ./Rapr.sln COPY Rapr ./Rapr COPY RaprTests ./RaprTests # Attempt to restore and build (will fail for net462 Windows-only project on Linux) RUN dotnet restore Rapr.sln || true RUN dotnet build Rapr.sln -c Release || true # Runtime image (placeholder) FROM mcr.microsoft.com/dotnet/runtime:8.0 WORKDIR /Rapr # Copy whatever was built (likely none on Linux for this project) COPY --from=build /src/Rapr/bin/Release /Rapr/bin/Release # Run the (likely Windows-only) app via dotnet, if possible ENTRYPOINT ["dotnet", "Rapr/bin/Release/net8.0/Rapr.dll"]
# Driver Store Explorer (Rapr) - Windows build (multi-stage)
# NOTE: This project targets Windows (.NET Framework 4.6.2) and uses Windows Forms.
# This Dockerfile builds the project from source in a Windows container and produces a runnable GUI binary.
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build
WORKDIR /src
# Copy the entire repository into the container
COPY . .
# Install NuGet CLI and restore packages
RUN powershell -Command \
Invoke-WebRequest -OutFile nuget.exe -UseBasicParsing https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
RUN nuget restore Rapr.sln
# Build Rapr in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal
# Runtime image with only what's needed to run the built binary
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
WORKDIR C:\Rapr
# Copy built output from build stage
COPY --from=build /src/Rapr/bin/Release C:\Rapr\bin\Release
# Run the GUI application (Windows container GUI support depends on host/VM capabilities)
ENTRYPOINT ["C:\\Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Windows build (multi-stage) # Note: This project targets Windows/.NET Framework 4.6.2 and uses Windows Forms. # This Dockerfile builds the project from source in a Windows container and produces a runnable GUI binary. FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build WORKDIR /src # Copy entire repository into the container COPY . . # Restore NuGet packages and build Rapr.sln RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Runtime image with only what's needed to run the built binary FROM mcr.microsoft.com/dotnet/framework/runtime:4.8 AS runtime WORKDIR /Rapr # Copy built output from build stage COPY --from=build /src/Rapr/bin/Release /Rapr/bin/Release # Run the GUI application (Windows container GUI support depends on host/VM capabilities) ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Windows build (multi-stage) # This Dockerfile builds the project from source using .NET Framework 4.8 on Windows. # It is intended to run on Windows containers. FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src # Copy repository COPY . . # Restore NuGet packages and build Rapr.sln RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Runtime image – contains only the built application FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR /Rapr # Copy built output from build stage COPY --from=build /src/Rapr/bin/Release /Rapr/bin/Release # Execute the GUI application ENTRYPOINT ["Rapr\\bin\\Release\\Rapr.exe"]
# Driver Store Explorer (Rapr) - Linux build attempt (not Windows) # Note: This project targets .NET Framework 4.6.2 (Windows Forms) and cannot be built/run on Linux containers. # This Dockerfile provides a Linux-based build skeleton to demonstrate a cross-platform approach. FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src # Copy repository COPY . . # Attempt to restore and build; these steps are expected to fail due to Windows-only project RUN dotnet restore Rapr.sln || true RUN dotnet build Rapr.sln -c Release -v minimal || true # Runtime image (Linux) - this app is Windows-only; we just package a friendly message FROM mcr.microsoft.com/dotnet/runtime:6.0 WORKDIR /app # Copy a minimal placeholder to indicate non-support in Linux containers COPY --from=build /src RaprPlaceholder # Entry point prints a clear message about Windows-only nature ENTRYPOINT ["bash", "-lc", "echo 'Rapr is a Windows/.NET Framework Windows Forms application and cannot run in Linux containers. Build on Windows with Windows containers or port to .NET 6/8 for cross-platform support.'"]
# Driver Store Explorer (Rapr) - Linux-compatible placeholder Dockerfile
# Note: Rapr targets Windows (.NET Framework 4.6.2) and Windows Forms, which cannot be built or run in Linux containers.
# This multi-stage Dockerfile provides a Linux-based container that carries the source and a clear message
# that building/running Rapr requires a Windows host with Windows containers or port to .NET 6/8.
# Stage 1: prepare source (no actual Windows build in Linux)
FROM ubuntu:22.04 AS build
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl unzip \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src
# Copy repository source into the image
COPY Rapr.sln Rapr.sln
COPY Rapr Rapr
COPY RaprTests RaprTests
# Placeholder build step (not functional for Windows-only projects)
RUN bash -lc 'echo "Windows .NET Framework project Rapr cannot be built on Linux. This is a placeholder stage." > /build_notice.txt'
# Stage 2: runtime container that simply informs about the Windows-only nature
FROM ubuntu:22.04 AS runtime
WORKDIR /Rapr
# Copy the source for inspection if needed (optional)
COPY --from=build /src /Rapr/src
# Default command explains the limitation
CMD ["bash", "-lc", "echo 'Rapr is a Windows/.NET Framework Windows Forms application and cannot run in Linux containers. Build on Windows with Windows containers or port to .NET 6/8.' && ls -la /Rapr/src"]
Concerns: Does not build the application from source; it's a placeholder that only copies files and prints a Windows-only limitation., Relies on a Linux base image for a Windows/.NET Framework project, which cannot run as-is; could be misleading for build/run expectations., COPY steps assume files exist in the build context (Rapr.sln, Rapr, RaprTests); missing files would cause a build failure., No actual .NET/Mono build or runtime is installed; the final image only exposes a message and the source tree, not a runnable build.
# Driver Store Explorer (Rapr) - Windows build (multi-stage) # This Dockerfile builds Rapr from source for Windows containers (.NET Framework 4.6.2+) # It requires Windows host with Windows containers. Linux hosts cannot build/run this project. FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln ./ COPY Rapr Rapr COPY RaprTests RaprTests # Restore NuGet packages and build RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Runtime image with only the built application FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR /Rapr # Copy built output from build stage COPY --from=build /src/Rapr/bin/Release ./Rapr/bin/Release # Execute the GUI application ENTRYPOINT ["Rapr/bin/Release/Rapr.exe"]
# Multi-stage Dockerfile for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln . COPY Rapr ./Rapr COPY RaprTests ./RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR C:\Rapr # Copy built output from the build image COPY --from=build /src/Rapr/bin/Release/ . # Run the application CMD ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR C:\src # Copy solution and projects COPY Rapr.sln . COPY Rapr .\Rapr COPY RaprTests .\RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR C:\Rapr # Copy built output from the build image COPY --from=build C:\src\Rapr\bin\Release\ . # Run the application CMD ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln . COPY Rapr Rapr COPY RaprTests RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR /Rapr # Copy built output from the build image COPY --from=build /src/Rapr/bin/Release/ . # Run the application CMD ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR C:\src # Copy solution and projects COPY Rapr.sln . COPY Rapr ./Rapr COPY RaprTests ./RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR C:\Rapr # Copy built output from the build image COPY --from=build C:\src\Rapr\bin\Release\ .\ # Run the application CMD ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR C:\src # Copy solution and projects COPY Rapr.sln . COPY Rapr .\Rapr COPY RaprTests .\RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR C:\Rapr # Copy built output from the build image COPY --from=build C:\src\Rapr\bin\Release\ . # Run the application ENTRYPOINT ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln . COPY Rapr ./Rapr COPY RaprTests ./RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR /Rapr # Copy built output from the build image COPY --from=build /src/Rapr/bin/Release/ . ENTRYPOINT ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR /src COPY Rapr.sln . COPY Rapr ./Rapr COPY RaprTests ./RaprTests RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR /Rapr COPY --from=build /src/Rapr/bin/Release/ ./ CMD ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR C:\src COPY Rapr.sln . COPY Rapr Rapr COPY RaprTests RaprTests RUN nuget restore Rapr.sln RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR C:\Rapr COPY --from=build C:\src\Rapr\bin\Release\ . ENTRYPOINT ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM microsoft/dotnet-framework-sdk:4.8-windowsservercore-ltsc2022 AS build WORKDIR C:\src # Copy solution and projects COPY Rapr.sln . COPY Rapr .\Rapr COPY RaprTests .\RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal # Stage 2: Runtime image FROM microsoft/dotnet-framework-runtime:4.8-windowsservercore-ltsc2022 AS runtime WORKDIR C:\Rapr # Copy built output from the build image COPY --from=build C:\src\Rapr\bin\Release\ . ENTRYPOINT ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR)
# Optional build-time image selectors (can be overridden with --build-arg)
ARG BASE_IMAGE_SDK=mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022
ARG BASE_IMAGE_RUNTIME=mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022
FROM ${BASE_IMAGE_SDK} AS build
WORKDIR /src
# Copy solution and projects
COPY Rapr.sln .
COPY Rapr ./Rapr
COPY RaprTests ./RaprTests
# Restore NuGet packages
RUN nuget restore Rapr.sln
# Build in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal
# Stage 2: Runtime image
FROM ${BASE_IMAGE_RUNTIME} AS runtime
WORKDIR /Rapr
# Copy built output from the build image
COPY --from=build /src/Rapr/bin/Release/ .
ENTRYPOINT ["Rapr.exe"]
# Docker ignore for this repo .git **/bin **/obj Rapr/bin Rapr/obj RaprTests/bin RaprTests/obj **/*.user **/*.suo **/.vs **/TestResults Screenshots/ *.zip ci-build/ artifact/
Summary (concise, actionable items preserved) VerifyBuild status: build_failed Concerns - Smoke tests use sh -c on Linux; Windows CMD/PowerShell needed to reliably run Rapr.exe. Rapr.exe is a GUI/desktop app; UI tests may not run in headless container. Build error - Error: ERROR: link .../msader15.dll.mui /var/lib/.../Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui: no such file or directory - Repeated: ERROR: link .../Program Files/Common Files/System/ado/en-US/msader15.dll.mui /var/lib/.../Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui: no such file or directory - Final build failure: ERROR: failed to build: failed to solve: failed to compute cache key: link ... (same no such file or directory) - Exit code: not shown in log (build failed) Failing command/step - [runtime 2/3] WORKDIR /Rapr - [build 2/7] WORKDIR /src Missing packages or files mentioned - Missing file: msader15.dll.mui - Path 1: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33557/fs/Files/Program Files/Common Files/System/ado/en-US/msader15.dll.mui - Path 2: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33557/fs/Files/Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui Version mismatch info - Warning: InvalidBaseImagePlatform: Base image mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 was pulled with platform "windows(10.0.20348.4171)/amd64", expected "linux/amd64" for current build (line 7) - Warning: InvalidBaseImagePlatform: Base image mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 was pulled with platform "windows(10.0.20348.4171)/amd64", expected "linux/amd64" for current build (line 22) Context notes - Base images used: mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 and mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 - Errors occur during Dockerfile stages involving WORKDIR directives (Rapr and src) after pulling Windows-based images, due to missing msader15.dll.mui in container filesystem.
# Multi-stage Windows build for Driver Store Explorer (RAPR) # Stage 1: Build FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS build WORKDIR /src # Copy solution and projects COPY Rapr.sln . COPY Rapr ./Rapr COPY RaprTests ./RaprTests # Restore NuGet packages RUN nuget restore Rapr.sln # Build in Release configuration RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform="Any CPU" /v:minimal # Stage 2: Runtime image FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 AS runtime WORKDIR /Rapr # Copy built output from the build image COPY --from=build C:\src\Rapr\bin\Release\ . ENTRYPOINT ["Rapr.exe"]
# Multi-stage Windows build for Driver Store Explorer (RAPR)
# Optional build-time image selectors (can be overridden with --build-arg)
ARG BASE_IMAGE_SDK=mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022
ARG BASE_IMAGE_RUNTIME=mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022
FROM ${BASE_IMAGE_SDK} AS build
WORKDIR C:\src
# Copy solution and projects
COPY Rapr.sln .
COPY Rapr .\Rapr
COPY RaprTests .\RaprTests
# Restore NuGet packages
RUN nuget restore Rapr.sln
# Build in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /p:Platform=\"Any CPU\" /v:minimal
# Stage 2: Runtime image
FROM ${BASE_IMAGE_RUNTIME} AS runtime
WORKDIR C:\Rapr
# Copy built output from the build image
COPY --from=build C:\src\Rapr\bin\Release\ .
ENTRYPOINT ["Rapr.exe"]
Concerns: MSBuild Platform parameter uses backslash-escaped quotes, which is likely invalid on Windows CMD and could cause the build to fail., As this is a GUI Windows desktop app, running Rapr.exe in a headless container may not display UI; tests should verify the executable is present and invocable without requiring a GUI., If the release output layout differs (for example multiple subfolders under bin\Release), the COPY step may not include the actual Rapr.exe.
Project and build settings (highlights) - Sdk: Microsoft.NET.Sdk - TargetFramework: net462 - LangVersion: latest - OutputType: WinExe - GenerateAssemblyInfo: false - UseWindowsForms: true - ImportWindowsDesktopTargets: true - AppendTargetFrameworkToOutputPath: false - ApplicationIcon: icon.ico - ApplicationManifest: app.manifest - CopyLocalLockFileAssemblies: false - SignAssembly: true - AssemblyOriginatorKeyFile: Rapr.snk Packages (with versions) - Microsoft.CodeAnalysis.NetAnalyzers 10.0.201 (IncludeAssets: runtime; build; native; contentfiles; analyzers; buildtransitive; PrivateAssets: all) - Microsoft.Dism 4.0.7 (GeneratePathProperty: true) - Microsoft.WindowsAPICodePack.Core 1.1.0 (GeneratePathProperty: true) - Microsoft.WindowsAPICodePack.Shell 1.1.0 (GeneratePathProperty: true) - Newtonsoft.Json 13.0.4 (GeneratePathProperty: true) - ObjectListView.Official 2.9.1 (GeneratePathProperty: true) - PortableSettingsProvider 0.2.5 (GeneratePathProperty: true) - Resource.Embedder 2.2.0 - StrongNamer 0.2.5 - System.ValueTuple 4.6.2 (GeneratePathProperty: true) References - System.configuration - System.Design - System.Net.Http Content and design-time code generation - Content: icon.ico - Lang\Language.Designer.cs: DesignTime=True, AutoGen=True, DependentUpon Language.resx - Properties\Resources.Designer.cs: DesignTime=True, AutoGen=True, DependentUpon Resources.resx - Properties\Settings.Designer.cs: DesignTimeSharedInput=True, AutoGen=True, DependentUpon Settings.settings - EmbeddedResource: Lang\Language.resx -> Generator PublicResXFileCodeGenerator; LastGenOutput Language.Designer.cs - EmbeddedResource: Properties\Resources.resx -> Generator PublicResXFileCodeGenerator; LastGenOutput Resources.Designer.cs - EmbeddedResource: Settings.Designer.cs (Settings.settings): Generator SettingsSingleFileGenerator; LastGenOutput Settings.Designer.cs - Compile: Lang\Language.Designer.cs (SubType: Component) - None: app.manifest (SubType: Designer) - None: Properties\Settings.settings (LastGenOutput Settings.Designer.cs) Embedded resources (library paths) - $(PkgMicrosoft_Dism)\lib\net40\Microsoft.Dism.dll - $(PkgNewtonsoft_Json)\lib\net45\Newtonsoft.Json.dll - $(PkgObjectListView_Official)\lib\net20\ObjectListView.dll - $(PkgSystem_ValueTuple)\lib\net462\System.ValueTuple.dll - $(PkgMicrosoft_WindowsAPICodePack_Core)\lib\Microsoft.WindowsAPICodePack.dll - $(PkgMicrosoft_WindowsAPICodePack_Shell)\lib\Microsoft.WindowsAPICodePack.Shell.dll - $(IntermediateOutputPath)SignedAssemblies\PortableSettingsProvider.dll (LogicalName: $(AssemblyName).PortableSettingsProvider.dll)
# Multi-stage Windows build for Driver Store Explorer (RAPR)
# Optional build-time image selectors (can be overridden with --build-arg)
ARG BASE_IMAGE_SDK=mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022
ARG BASE_IMAGE_RUNTIME=mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022
FROM ${BASE_IMAGE_SDK} AS build
WORKDIR C:\src
# Copy solution and projects
COPY Rapr.sln .
COPY Rapr .\\Rapr
COPY RaprTests .\\RaprTests
# Restore NuGet packages
RUN nuget restore Rapr.sln
# Build in Release configuration
RUN msbuild Rapr.sln /p:Configuration=Release /v:minimal
# Stage 2: Runtime image
FROM ${BASE_IMAGE_RUNTIME} AS runtime
WORKDIR C:\Rapr
# Copy built output from the build image
COPY --from=build C:\src\Rapr\bin\Release\ .
ENTRYPOINT ["Rapr.exe"]
Status:
- VerifyBuild status: build_failed
Actionable errors and details:
- Exact error messages:
- ERROR: link /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33599/fs/Files/Program Files/Common Files/System/ado/en-US/msader15.dll.mui /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33599/fs/Files/Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui: no such file or directory
- ERROR: failed to build: failed to solve: failed to compute cache key: link /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33599/fs/Files/Program Files/Common Files/System/ado/en-US/msader15.dll.mui /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/33599/fs/Files/Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui: no such file or directory
- Failing command/step:
- [runtime 2/3] WORKDIR C:Rapr
- [build 2/7] WORKDIR C:src
- Missing packages/files mentioned:
- msader15.dll.mui missing
- /Program Files/Common Files/System/ado/en-US/msader15.dll.mui
- /Program Files (x86)/Common Files/System/ado/en-US/msader15.dll.mui
- Version mismatch / warnings:
- InvalidBaseImagePlatform: Base image mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 was pulled with platform "windows(10.0.20348.4171)/amd64", expected "linux/amd64" for current build (line 7)
- InvalidBaseImagePlatform: Base image mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022 was pulled with platform "windows(10.0.20348.4171)/amd64", expected "linux/amd64" for current build (line 22)
- WorkdirRelativePath: Relative workdir "C:src" can have unexpected results if the base image changes (line 8)
- WorkdirRelativePath: Relative workdir "C:Rapr" can have unexpected results if the base image changes (line 23)
- Dockerfile lines:
- 23: WORKDIR C:\Rapr
- 8 and 23 hint at problematic relative workdirs
- Top-level status notes:
- Build failed with missing msader15.dll.mui during link step; final message: “failed to compute cache key: … msader15.dll.mui: no such file or directory”
- Exit code not explicitly shown (non-zero)
Additional context:
- RaprTests is copied into the build context but not used in the runtime image; consider removing from runtime image or running tests in CI to keep image lean.
- Runtime image may require additional resources/licenses (e.g., fonts, UI resources).