diff --git a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64 b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64 index 6dcfe12..4efad44 100644 --- a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64 +++ b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64 @@ -1,4 +1,4 @@ -FROM microsoft/dotnet:2.0-sdk AS build-env +FROM microsoft/dotnet:2.1-sdk AS build-env WORKDIR /app COPY *.csproj ./ @@ -7,7 +7,7 @@ RUN dotnet restore COPY . ./ RUN dotnet publish -c Release -o out -FROM microsoft/dotnet:2.0-runtime +FROM microsoft/dotnet:2.1-runtime WORKDIR /app COPY --from=build-env /app/out ./ @@ -15,4 +15,4 @@ COPY --from=build-env /app/out ./ RUN useradd -ms /bin/bash moduleuser USER moduleuser -ENTRYPOINT ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file +CMD ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file diff --git a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64.debug b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64.debug index 5f3e952..1dcfa8a 100644 --- a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64.debug +++ b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.amd64.debug @@ -1,4 +1,4 @@ -FROM microsoft/dotnet:2.0-runtime-stretch AS base +FROM microsoft/dotnet:2.1-runtime-stretch AS base RUN apt-get update && \ apt-get install -y --no-install-recommends unzip procps && \ @@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser USER moduleuser RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg -FROM microsoft/dotnet:2.0-sdk AS build-env +FROM microsoft/dotnet:2.1-sdk AS build-env WORKDIR /app COPY *.csproj ./ diff --git a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.arm32v7 b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.arm32v7 index ee4c24f..824d270 100644 --- a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.arm32v7 +++ b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.arm32v7 @@ -15,4 +15,4 @@ COPY --from=build-env /app/out ./ RUN useradd -ms /bin/bash moduleuser USER moduleuser -ENTRYPOINT ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file +CMD ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file diff --git a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-amd64 b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-amd64 index d9e2e2e..d290a0e 100644 --- a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-amd64 +++ b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-amd64 @@ -1,4 +1,4 @@ -FROM microsoft/dotnet:2.0-sdk AS build-env +FROM microsoft/dotnet:2.1-sdk AS build-env WORKDIR /app COPY *.csproj ./ @@ -7,7 +7,7 @@ RUN dotnet restore COPY . ./ RUN dotnet publish -c Release -o out -FROM microsoft/dotnet:2.0-runtime +FROM microsoft/dotnet:2.1.6-runtime-nanoserver-1809 WORKDIR /app COPY --from=build-env /app/out ./ -ENTRYPOINT ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file +CMD ["dotnet", "iotedgeSQLite.dll"] \ No newline at end of file diff --git a/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-arm32v7 b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-arm32v7 new file mode 100644 index 0000000..579b8d1 --- /dev/null +++ b/iotedgeSQLite/modules/iotedgeSQLite/Dockerfile.windows-arm32v7 @@ -0,0 +1,13 @@ +FROM microsoft/dotnet:2.1-sdk AS build-env +WORKDIR /app + +COPY *.csproj ./ +RUN dotnet restore -r win10-arm + +COPY . ./ +RUN dotnet publish -c Release -r win10-arm -o out + +FROM mcr.microsoft.com/windows/nanoserver:1809_arm +WORKDIR /app +COPY --from=build-env /app/out ./ +CMD ["iotedgeSQLite.exe"] \ No newline at end of file diff --git a/iotedgeSQLite/modules/iotedgeSQLite/module.json b/iotedgeSQLite/modules/iotedgeSQLite/module.json index 50c0da9..0d10883 100644 --- a/iotedgeSQLite/modules/iotedgeSQLite/module.json +++ b/iotedgeSQLite/modules/iotedgeSQLite/module.json @@ -2,14 +2,15 @@ "$schema-version": "0.0.1", "description": "", "image": { - "repository": "localhost:5000/iotedgesqlite", + "repository": "azureiotedge/sqlite", "tag": { - "version": "0.0.1", + "version": "1.0.5", "platforms": { "amd64": "./Dockerfile.amd64", "amd64.debug": "./Dockerfile.amd64.debug", "arm32v7": "./Dockerfile.arm32v7", - "windows-amd64": "./Dockerfile.windows-amd64" + "windows-amd64": "./Dockerfile.windows-amd64", + "windows-arm32v7": "./Dockerfile.windows-arm32v7" } }, "buildOptions": []