-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Dockerfiles to point to the RS5 nanoserver base image. This change also makes some minor tweaks to the Windows installer script in preparation for turning on UDS/RS5: - If an archive folder is passed rather than a ZIP file, create the iotedge directory first before trying to copy to it. Not sure why this wasn't failing before, maybe the build job that uses this feature is pre-creating the folder. - When creating the parent directory for the UNIX domain socket files, pipe to null so that the `Get-SecurityDaemon` function _only_ returns the intended boolean value. - During uninstall, if the event log component directory doesn't exist (e.g., because it was already deleted), ensure `Remove-SecurityDaemonResources` still returns `$true` so that the user sees a satisfying completion message ("Successfully uninstalled IoT Edge.") at the end. - Print some more errors when the -Verbose switch is specified. - During uninstall, remove the `IOTEDGE_HOST` system environment variable. - Use PowerShell's `Get-Acl` and `Set-Acl` instead of .NET Core's `[System.IO.Directory]::GetAccessControl` and `[System.IO.Directory]::SetAccessControl` (which Windows IoT Core doesn't have). - Set up the service to automatically restart when it fails.
- Loading branch information
1 parent
d4dcb62
commit f72a238
Showing
12 changed files
with
604 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
edge-modules/DirectMethodReceiver/docker/windows/amd64/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
edge-modules/DirectMethodSender/docker/windows/amd64/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
edge-modules/SimulatedTemperatureSensor/docker/windows/amd64/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# escape=` | ||
|
||
FROM mcr.microsoft.com/azure-functions/dotnet:2.0-nanoserver-1803 | ||
FROM mcr.microsoft.com/azure-functions/dotnet:2.0-nanoserver-1809 | ||
|
||
COPY . /approot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.